function engagements_get_signalwire_sms_error_codes_array

6.x engagements.module engagements_get_signalwire_sms_error_codes_array()
1 call to engagements_get_signalwire_sms_error_codes_array()
engagements_sms_get_all_messages in modules/engagements/engagements.module
Retrieve all messages, update the ones which don't have prices associated with them yet.

File

modules/engagements/engagements.module, line 1559
This is the primary module file for the engagements module.

Code

function engagements_get_signalwire_sms_error_codes_array() {
  $rtn = array(
    "10002" => "Trial account does not support this feature",
    "11200" => "HTTP Retrieval Failure",
    "11751" => "MMS -> Media exceeds mobile operator size limit",
    "12100" => "Document Parse Failure",
    "12300" => "Invalid Content-Type",
    "13221" => "Dial -> Number: Invalid Method Value",
    "15002" => "Call Progress: Queue Timeout",
    "21210" => "'From' phone number not verified",
    "21217" => "A call or SMS is placed to a destination which does not represent a valid phone number",
    "21219" => "'To' phone number not verified",
    "21601" => "Phone number is not a valid SMS-capable inbound phone number",
    "21602" => "Message body is required",
    "21603" => "The source 'From' phone number is required to send an SMS",
    "21604" => "The destination 'To' phone number is required to send an SMS",
    "21610" => "Attempt to send to unsubscribed recipient",
    "21611" => "This 'From' number has exceeded the maximum number of queued messages",
    "21617" => "The concatenated message body exceeds the 1600 character limit",
    "21620" => "Invalid media URL(s)",
    "21623" => "Number of media files exceeds allowed limit",
    "30002" => "Account suspended",
    "30003" => "Unreachable destination handset",
    "30004" => "Message blocked or opted out",
    "30005" => "Unknown destination handset",
    "30006" => "Landline or unreachable carrier",
    "30007" => "Message marked as spam",
    "30008" => "Unknown error",
    "30010" => "Message price exceeds max price",
    "30022" => "Campaign Registry Throughput Limit Exceeded",
  );




  return $rtn;
}