Содержание
- SMPP Error Codes
- v1.17_Проблема получения смс через сервис smsc.ru
- SMPP Error Code Reference
- Related posts:
- Smpp error bind failed
- Status
- Routing Code
- Error Code
- Immediate errors (Status = NACK)
- Routing-code:1 (MO)
- Routing-code:2 (MB)
- Status different than «NACK»
- Routing-code:1 (MO)
SMPP Error Codes
Command Status as defined in [SMPP] (5.1.3).
Value | Description |
---|---|
0x00000000 | No Error |
0x00000001 | Message Length is invalid |
0x00000002 | Command Length is invalid |
0x00000003 | Invalid Command ID |
0x00000004 | Incorrect BIND Status for given command |
0x00000005 | ESME Already in Bound State |
0x00000006 | Invalid Priority Flag |
0x00000007 | Invalid Registered Delivery Flag |
0x00000008 | System Error |
0x00000009 | Reserved |
0x0000000A | Invalid Source Address |
0x0000000B | Invalid Destination Address |
0x0000000C | Message ID is invalid |
0x0000000D | Bind Failed |
0x0000000E | Invalid Password |
0x0000000F | Invalid System ID |
0x00000010 | Reserved |
0x00000011 | Cancel SM Failed |
0x00000012 | Reserved |
0x00000013 | Replace SM Failed |
0x00000014 | Message Queue Full |
0x00000015 | Invalid Service Type |
0x00000016- 0x00000032 |
Reserved |
0x00000033 | Invalid number of destinations |
0x00000034 | Invalid Distribution List name |
0x00000035- 0x0000003F |
Reserved |
0x00000040 | Destination flag is invalid (submit_multi) |
0x00000041 | Reserved |
0x00000042 | Invalid ‘submit with replace’ request (e.g. submit_sm with replace_if_present_flag set) |
0x00000043 | Invalid esm_class field data |
0x00000044 | Cannot Submit to Distribution List |
0x00000045 | submit_sm or submit_multi failed |
0x00000046- 0x00000047 |
Reserved |
0x00000048 | Invalid Source address TON |
0x00000049 | Invalid Source address NPI |
0x00000050 | Invalid Destination address TON |
0x00000051 | Invalid Destination address NPI |
0x00000052 | Reserved |
0x00000053 | Invalid system_type field |
0x00000054 | Invalid replace_if_present flag |
0x00000055 | Invalid number of messages |
0x00000056- 0x00000057 |
Reserved |
0x00000058 | Throttling error (ESME has exceeded allowed message limits) |
0x00000059- 0x00000060 |
Reserved |
0x00000061 | Invalid Scheduled Delivery Time |
0x00000062 | Invalid message validity period (Expiry time) |
0x00000063 | Predefined Message Invalid or Not Found |
0x00000064 | ESME Receiver Temporary App Error Code |
0x00000065 | ESME Receiver Permanent App Error Code |
0x00000066 | ESME Receiver Reject Message Error Code |
0x00000067 | query_sm request failed |
0x00000068- 0x000000BF |
Reserved |
0x000000C0 | Error in the optional part of the PDU Body |
0x000000C1 | Optional Parameter not allowed |
0x000000C2 | Invalid Parameter Length. |
0x000000C3 | Expected Optional Parameter missing |
0x000000C4 | Invalid Optional Parameter Value |
0x000000C5- 0x000000FD |
Reserved |
0x000000FE | Delivery Failure (used for data_sm_resp) |
0x000000FF | Unknown Error |
0x00000100- 0x000003FF |
Reserved for SMPP extension |
0x00000400- 0x000004FF |
Reserved for SMSC vendor specific errors |
0x00000500- 0xFFFFFFFF |
Reserved |
Message State as defined in [SMPP] (5.2.28).
Value | Description |
---|---|
1 | The message is in «en route» state |
2 | Message is delivered to destination |
3 | Message validity period has expired |
4 | Message has been deleted |
5 | Message is undeliverable |
6 | Message is in accepted state (e.g. has been manually read on behalf of the subscriber by customer service) |
7 | Message is in invalid state |
8 | Message is in a rejected state |
Network Error Code as defined in [SMPP] (5.3.2.31).
The Network Error Code parameter is used to indicate the actual network error code for a delivery failure. The network error code is technology specific. It’s a 3 Octet String which consists of 2 sub fields: Network Type (1 Integer) and Error Code (2 Integer). The first octet indicates the network type. The following values are defined: 1 = ANSI-136, 2 = IS-95, 3 = GSM, 4 = Reserved. All other values reserved. The remaining two octets specify the actual network error code appropriate to the network type.
Источник
v1.17_Проблема получения смс через сервис smsc.ru
При возникновении проблемы получения sms сообщения через сервис smsc.ru:
- Проверить доступность сервиса smsc.ru с контроллера
- Если для связи с smsc.ru используется протокол SMPP необходимо проверить следующие настройки в личном кабинете smsc.ru :
- включена ли галочка доступ по SMPP;
- проверить правильно ли зарегистрирован ip адрес, с которого приходят запросы.
- Если с доступность сервиса с контроллера нет проблем и настройки в личном кабинете выполнены правильно, проверьте наличие записей об ошибках в файле /var/log/eltex-portal/sms_ep.txt. В таблице 1 приведено описание кодов ошибок
Таблица 1 – Коды ошибок
Абонент существует и доступен.
Абонент не существует
Указанный номер телефона не существует.
Абонент не в сети
Телефон абонента отключен или находится вне зоны действия сети.
Означает, что абонент не может принять SMS-сообщение. Например, услуга не подключена, или абонент находится в роуминге, где не активирован прием сообщений, или у оператора абонента не налажен обмен SMS с текущим роуминговым оператором. Также это может быть городской номер без приема сообщений.
Возникает, например, если на счету абонента нулевой или отрицательный баланс, и он находится в роуминге, или заблокирован оператором за продолжительную неуплату либо добровольно самим абонентом. Также данная ошибка может возвращаться при повреждении SIM-карты либо неправильном вводе PIN и PUK-кодов SIM-карты.
Нет поддержки SMS
Аппарат абонента не поддерживает прием SMS-сообщений.
Данное уведомление появляется под статусом сообщения в случае отправки сообщения в режиме тестирования (при установленной в настройках галочке «Режим тестирования (виртуальная отправка без оплаты)»).
Переполнена очередь у оператора
Указанная ошибка может возникать в случае, когда абонент недоступен для приема SMS, но сообщения продолжают приходить оператору и происходит переполнение внутренней очереди сообщений для данного абонента. В редких случаях возможно появление ошибки в результате сбоя в сети самого оператора или переполнении общей очереди сообщений. Во всех подобных ситуациях система с определенными интервалами несколько раз пытается отправить указанные сообщения повторно.
Возникает при передаче голосового сообщения абоненту, если линия занята или абонент отменил вызов.
Ошибка конвертации звука
При преобразовании текста или звукового файла в конечный формат для передачи абоненту голосового сообщения произошла ошибка конвертации звука.
Означает, что во время отправки голосового сообщения на стороне абонента был зафиксирован автоответчик.
Не заключен договор
Возникает при попытке отправки рассылок рекламного или массового характера без заключенного договора.
Означает, что для данного Клиента запрещена отправка массовых и рекламных рассылок.
Статус не получен
В течение суток статус доставки не был получен от оператора, в этом случае нельзя точно сказать, было сообщение доставлено или нет.
Ограничение по времени
Если в личном кабинете в пункте «Настройки» во вкладке «Лимиты и ограничения» установлено «Время отправки» и галочка «запретить отправку в другое время», то при попытке отправки SMS-сообщений в период времени, отличный от указанного в поле «Время отправки», отправка сообщений будет запрещаться с указанием данной ошибки.
Превышен лимит сообщений
Превышен общий суточный лимит сообщений, указанный Клиентом в личном кабинете в пункте «Настройки».
Означает, что на данный номер отправка сообщений недоступна в нашем сервисе. Например, ввели несуществующий мобильный код, либо для указанного номера и текста нет рабочего SMS-шлюза.
Неверный формат номера
Возникает, когда мобильный код указанного номера и соответствующая этому коду длина номера неверны.
Номер запрещен настройками
Номер попал под ограничения, установленные Клиентом для мобильных номеров в личном кабинете в пункте «Настройки».
Превышен лимит на один номер
Превышен суточный лимит сообщений на один номер. Лимит устанавливается Клиентом в личном кабинете в пункте «Настройки». Также такая ошибка возможна при отправке более 50 сообщений одному абоненту, которые были отправлены с перерывом между сообщениями менее 30 секунд.
Возникает, например, при попытке указания Клиентом одного из наших федеральных номеров в качестве получателя SMS-сообщения.
Если текст сообщения содержит нецензурные выражения и оскорбления, призывы отправить sms и некоторые другие запрещенные тексты, то отправка сообщения заблокируется. Также запрещено указывать в качестве отправителя короткие платные номера, номер получателя сообщений, названия операторов, чужих интернет-ресурсов, компаний и государственных организаций.
Незарегистрированный sender id
Данная ошибка возникает при попытке отправки сообщения от незарегистрированного имени отправителя.
Оператор отклонил сообщение без указания точного кода ошибки.
Источник
SMPP Error Code Reference
Posted by bryce on Sep 28, 2009 in Support Blog Comments Off on SMPP Error Code Reference —>
Information on how NowSMS handles different SMPP errors can be found at the following link: https://nowsms.com/smpp-error-code-handling-in-nowsms
This article is a reference for SMPP error codes.
Invalid Message Length (sm_length parameter)
Invalid Command Length (command_length in SMPP PDU)
Invalid Command ID (command_id in SMPP PDU)
Incorrect BIND status for given command (example: trying to submit a message when bound only as a receiver)
ESME already in bound state (example: sending a second bind command during an existing SMPP session)
Invalid Priority Flag (priority_flag parameter)
Invalid Regstered Delivery Flag (registered_delivery parameter)
System Error (indicates server problems on the SMPP host)
Invalid source address (sender/source address is not valid)
Invalid desintation address (recipient/destination phone number is not valid)
Message ID is invalid (error only relevant to query_sm, replace_sm, cancel_sm commands)
Bind failed (login/bind failed – invalid login credentials or login restricted by IP address)
Invalid password (login/bind failed)
Invalid System ID (login/bind failed – invalid username / system id)
cancel_sm request failed
replace_sm request failed
Message Queue Full (This can indicate that the SMPP server has too many queued messages and temporarily cannot accept any more messages. It can also indicate that the SMPP server has too many messages pending for the specified recipient and will not accept any more messages for this recipient until it is able to deliver messages that are already in the queue to this recipient.)
Invalid service_type value
Invalid number_of_dests value in submit_multi request
Invalid distribution list name in submit_multi request
Invalid dest_flag in submit_multi request
Invalid ‘submit with replace’ request (replace_if_present flag set)
Invalid esm_class field data
Cannot submit to distribution list (submit_multi request)
Submit message failed
Invalid Source address TON
Invalid Source address NPI
Invalid Destination address TON
Invalid Destination address NPI
Invalid system_type field
Invalid replace_if_present flag
Invalid number_of_messages parameter
Throttling error (This indicates that you are submitting messages at a rate that is faster than the provider allows)
Invalid schedule_delivery_time parameter
Invalid validity_period parameter / Expiry time
Invalid sm_default_msg_id parameter (this error can sometimes occur if the “Default Sender Address” field is blank in NowSMS)
ESME Receiver Temporary App Error Code
ESME Receiver Permanent App Error Code (the SMPP provider is rejecting the message due to a policy decision or message filter)
ESME Receiver Reject Message Error Code (the SMPP provider is rejecting the message due to a policy decision or message filter)
query_sm request failed
Error in the optional TLV parameter encoding
An optional TLV parameter was specified which is not allowed
An optional TLV parameter has an invalid parameter length
An expected optional TLV parameter is missing
An optional TLV parameter is encoded with an invalid value
Generice Message Delivery failure
An unknown error occurred (indicates server problems on the SMPP host)
Error codes between 0x400 and 0x4FF are SMPP provider specific, and it is necessary to consult system documentation for the provider for more details.
For additional information, archived versions of the SMPP specification can be found at the following link: https://nowsms.com/smpp-3-4-protocol-specification-archive
For comments and further discussion, please click here to visit the NowSMS Technical Forums (Discussion Board).
Источник
Smpp error bind failed
SMS Gateway software
Ozeki brings you outstanding
SMS Gateway technology. Use our SMS Server products on Windows,Linux, or Android
C# SMS API
Developers can use our C# SMS API to send SMS from C#.Net. The C# SMS API comes with full source code
PHP SMS API
The ozeki PHP SMS gateway software can be used to send SMS from PHP and to receive SMS usig PHP on your website
SMPP SMS Gateway
SMS service providers use our SMPP gateway solution, that offers a high performance SMPP server and SMPP client gateway with amazing routing capabilities
On your SMPP links the following error codes can be returned by your SMS service provider. Please check the meaning and the possible resolution in the table bellow.
The error messages are displayed in the following format: Status_RoutingCode_ErrorCode
- Your message has been sent to the telephone operator and is waiting to be delivered
- Sending is underway by the telephone operator
- The recipient’s terminal may be switched off or unreachable and the service provider is attempting to send
- Your message has been sent to a number of a telephone operator for which there are no return receipts. In this case the message will always be queued even after the actual delivery
Below are the descriptions of the codes returned in case of error.
Status
The possible values are
- NACK: request immediately rejected by the SMSC operator
- UNDELIV: the message can not be delivered
- EXPIRED: it was not possible to deliver the message and the period of validity’s period has expired
- UNKNOWN: Message is in an invalid state
- FAILED: The message can not be delivered
Note: For the protocol used, there is also the state DELIVRD (message delivered) but this will never be displayed, because it does not fall into the error’s examples
Routing Code
Depending on the route (SMSC) which is sent a SMS error the code may be different. The possible paths are identified by numbers (1, 2, 3, . )
Код | Название | Описание |
---|---|---|
ID | SMSC ID |
---|---|
1 | MO |
2 | MB |
3 | IB |
4 | AT |
5 | RD |
6 | AG |
Error Code
Error code depends on the status and in some cases also by the RoutingCode
Immediate errors (Status = NACK)
For errors like «NACK» they depend on messages belonging to the 0x00000400-0x000004FF interval. The first table shows errors are independent by the route, while the following tables report dependencies to the SMSC on which the message was routed.
Error Number in Hexadecimal | Error Number in Decimal | Error Name | Error Description |
---|---|---|---|
0x00000000 | ESME_ROK | No Error | |
0x00000001 | 1 | ESME_RINVMSGLEN | Message too long |
0x00000002 | 2 | ESME_RINVCMDLEN | Command length is invalid |
0x00000003 | 3 | ESME_RINVCMDID | Command ID is invalid or not supported |
0x00000004 | 4 | ESME_RINVBNDSTS | Incorrect bind status for given command |
0x00000005 | 5 | ESME_RALYBND | Already bound |
0x00000006 | 6 | ESME_RINVPRTFLG | Invalid Priority Flag |
0x00000007 | 7 | ESME_RINVREGDLVFLG | Invalid registered delivery flag |
0x00000008 | 8 | ESME_RSYSERR | System error |
0x00000009 | 9 | Reserved | |
0x0000000A | 10 | ESME_RINVSRCADR | Invalid source address |
0x0000000B | 11 | ESME_RINVDSTADR | Invalid destination address |
0x0000000C | 12 | ESME_RINVMSGID | Message ID is invalid |
0x0000000D | 13 | ESME_RBINDFAIL | Bind failed |
0x0000000E | 14 | ESME_RINVPASWD | Invalid password |
0x0000000F | 15 | ESME_RINVSYSID | Invalid System ID |
0x00000010 | 16 | Reserved | |
0x00000011 | 17 | ESME_RCANCELFAIL | Canceling message failed |
0x00000012 | 18 | Reserved | |
0x00000013 | 19 | ESME_RREPLACEFAIL | Message replacement failed |
0x00000014 | 20 | ESME_RMSSQFUL | Message queue full |
0x00000015 | 21 | ESME_RINVSERTYP | Invalid service type |
0x00000033 | 51 | ESME_RINVNUMDESTS | Invalid number of destinations |
0x00000034 | 52 | ESME_RINVDLNAME | Invalid distribution list name |
0x00000040 | 64 | ESME_RINVDESTFLAG | Invalid destination flag |
0x00000041 | 65 | Reserved | |
0x00000042 | 66 | ESME_RINVSUBREP | Invalid submit with replace request |
0x00000043 | 67 | ESME_RINVESMCLASS | Invalid esm class set |
0x00000044 | 68 | ESME_RCNTSUBDL | Invalid submit to distribution list |
0x00000045 | 69 | ESME_RSUBMITFAIL | Submitting message has failed |
0x00000046 | 70 | Reserved | |
0x00000047 | 71 | Reserved | |
0x00000048 | 72 | ESME_RINVSRCTON | Invalid source address type of number ( TON ) |
0x00000049 | 73 | ESME_RINVSRCNPI | Invalid source address numbering plan ( NPI ) |
0x00000050 | 80 | ESME_RINVDSTTON | Invalid destination address type of number ( TON ) |
0x00000051 | 81 | ESME_RINVDSTNPI | Invalid destination address numbering plan ( NPI ) |
0x00000052 | 82 | Reserved | |
0x00000053 | 83 | ESME_RINVSYSTYP | Invalid system type |
0x00000054 | 84 | ESME_RINVREPFLAG | Invalid replace_if_present flag |
0x00000055 | 85 | ESME_RINVNUMMSGS | Invalid number of messages |
0x00000056 | 86 | Reserved | |
0x00000057 | 87 | Reserved | |
0x00000058 | 88 | ESME_RTHROTTLED | Throttling error |
0x00000059 | 89 | Reserved | |
0x00000060 | 96 | Reserved | |
0x00000061 | 97 | ESME_RINVSCHED | Invalid scheduled delivery time |
0x00000062 | 98 | ESME_RINVEXPIRY | Invalid Validity Period value |
0x00000063 | 99 | ESME_RINVDFTMSGID | Predefined message not found |
0x00000064 | 100 | ESME_RX_T_APPN | ESME Receiver temporary error |
0x00000065 | 101 | ESME_RX_P_APPN | ESME Receiver permanent error |
0x00000066 | 102 | ESME_RX_R_APPN | ESME Receiver reject message error |
0x00000067 | 103 | ESME_RQUERYFAIL | Message query request failed |
0x00000068 — 0x000000BF | 104 — 191 | Reserved | |
0x000000C0 | 192 | ESME_RINVTLVSTREAM | Error in the optional part of the PDU body |
0x000000C1 | 193 | ESME_RTLVNOTALLWD | TLV not allowed |
0x000000C2 | 194 | ESME_RINVTLVLEN | Invalid parameter length |
0x000000C3 | 195 | ESME_RMISSINGTLV | Expected TLV missing |
0x000000C4 | 196 | ESME_RINVTLVVAL | Invalid TLV value |
0x000000C5 — 0x000000FD | 197 — 253 | Reserved | |
0x000000FE | 254 | ESME_RDELIVERYFAILURE | Transaction delivery failure |
0x000000FF | 255 | ESME_RUNKNOWNERR | Unknown error |
0x00000100 | 256 | ESME_RSERTYPUNAUTH | ESME not authorised to use specified servicetype |
0x00000101 | 257 | ESME_RPROHIBITED | ESME prohibited from using specified operation |
0x00000102 | 258 | ESME_RSERTYPUNAVAIL | Specified servicetype is unavailable |
0x00000103 | 259 | ESME_RSERTYPDENIED | Specified servicetype is denied |
0x00000104 | 260 | ESME_RINVDCS | Invalid data coding scheme |
0x00000105 | 261 | ESME_RINVSRCADDRSUBUNIT | Invalid source address subunit |
0x00000106 | 262 | ESME_RINVSTDADDRSUBUNIR | Invalid destination address subunit |
0x00000400- | 1024 — | Operator specific error codes |
Routing-code:1 (MO)
Error-Code | Error Description |
---|---|
0x00000402 | Quota reached |
0x00000403 | Spam detected |
0x00000404 | Hammering detected |
0x00000405 | Blacklisted |
Routing-code:2 (MB)
Error-Code | Error Description |
---|---|
401 | Number blacklisted in system |
402 | Client blacklisted in system |
403 | Prefix blacklisted in system |
404 | Invalid account Error |
405 | No longer applicable |
406 | Destination busy — The message was not sent due to the fact that the QoS was busy, please try again. |
407 | Reply Type Error. |
408 | MSIP Syntax Error. |
409 | No longer applicable |
40A | System unavailable. |
40B | System unavailable. |
40C | System unavailable. |
40D | Profile Error. |
40E | Username not set — No username was specified. |
40F | Do not try again. Binary message not allowed on profile. — This message does not allow binary messages. |
410 | Temporary System failure, please retry. |
411 | Number unroutable. Do not retry. |
412 | Number Temporarily unroutable, please try again. |
413 | Number unroutable. Do not retry. |
414 | Number unroutable on current settings. Do not retry. |
415 | Number Temporarily unroutable, please try again. |
416 | Number unroutable. Do not retry. |
417 | Number unroutable. Do not retry. |
418 | Number unroutable. Do not retry. |
419 | Number unroutable. Do not retry. |
41A | Number unroutable. Do not retry. |
41B | Number unroutable. Do not retry. |
41C | Number Temporarily unroutable, please try again. |
41D | Number unroutable. Do not retry. |
41E | Number Temporarily unroutable, please try again. |
41F | Number Temporarily unroutable, please try again. |
420 | Unable to send on local deliverer |
421 | Cannot find originator for index. Do not retry. |
422 | Destination unavailable, please try again. |
Status different than «NACK»
The following table shows the values of specific ErrorCode for the route. Lines highlighted in green relate to the message returned if the message is sent successfully.
Routing-code:1 (MO)
There is no specific ErrorCode of this route. We only use information from the Status field.
Источник
These error codes are returned with submit_sms_resp PDUs. They indicate either an issue with the format or structure of your request, or an issue with delivery to the mobile phone.
As well as these pre-defined SMPP error codes, there are OpenMarket-Specific SMPP Error Codes. We use these to better indicate what may have caused the request to fail. We may also provide further information as to why a message request failed in TLV 0x2153. This TLV provides the most accurate information about why a message may have failed. For a list of the codes returned by TLV 0x2153, see TLVs returned in responses and delivery receipts.
Search for a code or on any other text:
Hex value |
Decimal |
Description |
Possible solution |
---|---|---|---|
0x00000000 |
0 |
No Error |
|
0x00000001 |
1 |
Message length is invalid |
Max 140 octets; 160 chars in uncompressed default character encoding. |
0x00000002 |
2 |
Command length is invalid |
|
0x00000003 |
3 |
Invalid Command ID |
|
0x00000004 |
4 |
Incorrect BIND Status for given command |
You must bind first before any other request is handled. |
0x00000005 |
5 |
ESME Already in Bound State |
Do not send bind requests when already bound. |
0x00000006 |
6 |
Invalid Priority Flag |
|
0x00000007 |
7 |
Invalid Registered Delivery Flag |
|
0x00000008 |
8 |
System Error |
|
0x00000009 |
Reserved |
||
0x0000000A |
10 |
Invalid Source Address |
|
0x0000000B |
11 |
Invalid Dest Addr |
Invalid length; the length was greater than 3 && less than 17, invalid international format. |
0x0000000C |
12 |
Message ID is invalid |
|
0x0000000D |
13 |
Bind Failed |
|
0x0000000E |
14 |
Invalid Password |
|
0x0000000F |
15 |
Invalid System ID |
|
0x00000010 |
16 |
Reserved |
|
0x00000011 |
17 |
Cancel SM Failed |
|
0x00000012 |
Reserved |
||
0x00000013 |
19 |
Replace SM Failed |
|
0x00000014 |
20 |
Message Queue Full |
|
0x00000015 |
21 |
Invalid Service Type |
Set to NULL |
0x00000016 |
Reserved thru -0x00000032 |
||
0x00000033 |
51 |
Invalid number of destinations |
|
0x00000034 |
52 |
Invalid Distribution List name |
|
0x00000035 |
53 |
Reserved thru -0x0000003F |
|
0x00000040 |
64 |
Destination flag is invalid (submit_multi) |
|
0x00000041 |
Reserved |
||
0x00000042 |
66 |
Invalid submit with replace request; submit_sm with replace_if_present_flag set |
|
0x00000043 |
67 |
Invalid esm_class field data |
|
0x00000044 |
68 |
Cannot Submit to Distribution List |
|
0x00000045 |
69 |
submit_sm or submit_multi failed |
|
0x00000046 |
Reserved thru -0x00000047 |
||
0x00000048 |
72 |
Invalid Source address TON |
Accepts International, Network, or Alphanumeric; values of 0x01, 0x03, and 0x05. |
0x00000049 |
73 |
Invalid Source address NPI |
Set to null for default value or 0x01 for ISDN numbering plan indicator. |
0x00000050 |
80 |
Invalid Destination address TON |
Accepts either Unknown Or International; values: 0x00 and 0x01. |
0x00000051 |
81 |
Invalid Destination address NPI |
Accepts either Unknown Or ISDN E163/E164: values: 0x00 and 0x01. |
0x00000052 |
Reserved |
||
0x00000053 |
83 |
Invalid system_type field |
|
0x00000054 |
84 |
Invalid replace_if_present flag. |
|
0x00000055 |
85 |
Invalid number of messages |
|
0x00000056 |
Reserved thru -0x00000057 |
||
0x00000058 |
88 |
Throttling error; ESME has exceeded allowed message limits. |
|
0x00000059 |
89 |
Reserved thru -0x00000060 |
|
0x00000061 |
97 |
Invalid Scheduled Delivery Time |
|
0x00000062 |
98 |
Invalid message validity period (Expiry time). |
|
0x00000063 |
99 |
Predefined Message Invalid or Not Found |
Does not support canned messages; set to NULL. |
0x00000064 |
100 |
ESME Receiver Temporary App Error Code |
|
0x00000065 |
101 |
ESME Receiver Permanent App Error Code |
|
0x00000066 |
102 |
ESME Receiver Reject Message Error Code |
|
0x00000067 |
103 |
query_sm request failed |
|
0x00000068 |
104 |
Reserved thru -0x000000BF |
|
0x000000C0 |
192 |
Error in the optional part of the PDU Body |
|
0x000000C1 |
193 |
Optional Parameter not allowed |
|
0x000000C2 |
194 |
Invalid Parameter Length |
|
0x000000C3 |
195 |
Expected Optional Parameter missing. |
|
0x000000C4 |
196 |
Invalid Optional Parameter Value |
This error occurs when an optional value parameter retrieve fails; this not normal behavior. |
0x000000C5-0x000000FD |
|||
0x000000FE |
245 |
Delivery Failure, used for data_sm_resp |
|
0x000000FF |
255 |
Unknown Error |
|
0x00000100 |
Reserved for SMPP extension thru -0x000003FF |
Industry specifications and standards
Error Number in Hexadecimal | Error Number in Decimal | Error Name | Error Description |
---|---|---|---|
0x00000000 | 0 | ESME_ROK | No Error |
0x00000001 | 1 | ESME_RINVMSGLEN | Message too long |
0x00000002 | 2 | ESME_RINVCMDLEN | Command length is invalid |
0x00000003 | 3 | ESME_RINVCMDID | Command ID is invalid or not supported |
0x00000004 | 4 | ESME_RINVBNDSTS | Incorrect bind status for given command |
0x00000005 | 5 | ESME_RALYBND | Already bound |
0x00000006 | 6 | ESME_RINVPRTFLG | Invalid Priority Flag |
0x00000007 | 7 | ESME_RINVREGDLVFLG | Invalid registered delivery flag |
0x00000008 | 8 | ESME_RSYSERR | System error |
0x00000009 | 9 | Reserved | |
0x0000000A | 10 | ESME_RINVSRCADR | Invalid source address |
0x0000000B | 11 | ESME_RINVDSTADR | Invalid destination address |
0x0000000C | 12 | ESME_RINVMSGID | Message ID is invalid |
0x0000000D | 13 | ESME_RBINDFAIL | Bind failed |
0x0000000E | 14 | ESME_RINVPASWD | Invalid password |
0x0000000F | 15 | ESME_RINVSYSID | Invalid System ID |
0x00000010 | 16 | Reserved | |
0x00000011 | 17 | ESME_RCANCELFAIL | Canceling message failed |
0x00000012 | 18 | Reserved | |
0x00000013 | 19 | ESME_RREPLACEFAIL | Message replacement failed |
0x00000014 | 20 | ESME_RMSSQFUL | Message queue full |
0x00000015 | 21 | ESME_RINVSERTYP | Invalid service type |
0x00000033 | 51 | ESME_RINVNUMDESTS | Invalid number of destinations |
0x00000034 | 52 | ESME_RINVDLNAME | Invalid distribution list name |
0x00000040 | 64 | ESME_RINVDESTFLAG | Invalid destination flag |
0x00000041 | 65 | Reserved | |
0x00000042 | 66 | ESME_RINVSUBREP | Invalid submit with replace request |
0x00000043 | 67 | ESME_RINVESMCLASS | Invalid esm class set |
0x00000044 | 68 | ESME_RCNTSUBDL | Invalid submit to distribution list |
0x00000045 | 69 | ESME_RSUBMITFAIL | Submitting message has failed |
0x00000046 | 70 | Reserved | |
0x00000047 | 71 | Reserved | |
0x00000048 | 72 | ESME_RINVSRCTON | Invalid source address type of number ( TON ) |
0x00000049 | 73 | ESME_RINVSRCNPI | Invalid source address numbering plan ( NPI ) |
0x00000050 | 80 | ESME_RINVDSTTON | Invalid destination address type of number ( TON ) |
0x00000051 | 81 | ESME_RINVDSTNPI | Invalid destination address numbering plan ( NPI ) |
0x00000052 | 82 | Reserved | |
0x00000053 | 83 | ESME_RINVSYSTYP | Invalid system type |
0x00000054 | 84 | ESME_RINVREPFLAG | Invalid replace_if_present flag |
0x00000055 | 85 | ESME_RINVNUMMSGS | Invalid number of messages |
0x00000056 | 86 | Reserved | |
0x00000057 | 87 | Reserved | |
0x00000058 | 88 | ESME_RTHROTTLED | Throttling error |
0x00000059 | 89 | Reserved | |
0x00000060 | 96 | Reserved | |
0x00000061 | 97 | ESME_RINVSCHED | Invalid scheduled delivery time |
0x00000062 | 98 | ESME_RINVEXPIRY | Invalid Validity Period value |
0x00000063 | 99 | ESME_RINVDFTMSGID | Predefined message not found |
0x00000064 | 100 | ESME_RX_T_APPN | ESME Receiver temporary error |
0x00000065 | 101 | ESME_RX_P_APPN | ESME Receiver permanent error |
0x00000066 | 102 | ESME_RX_R_APPN | ESME Receiver reject message error |
0x00000067 | 103 | ESME_RQUERYFAIL | Message query request failed |
0x00000068-0x000000BF | 104 -191 | Reserved | |
0x000000C0 | 192 | ESME_RINVTLVSTREAM | Error in the optional part of the PDU body |
0x000000C1 | 193 | ESME_RTLVNOTALLWD | TLV not allowed |
0x000000C2 | 194 | ESME_RINVTLVLEN | Invalid parameter length |
0x000000C3 | 195 | ESME_RMISSINGTLV | Expected TLV missing |
0x000000C4 | 196 | ESME_RINVTLVVAL | Invalid TLV value |
0x000000C5-0x000000FD | 197 -253 | Reserved | |
0x000000FE | 254 | ESME_RDELIVERYFAILURE | Transaction delivery failure |
0x000000FF | 255 | ESME_RUNKNOWNERR | Unknown error |
0x00000100 | 256 | ESME_RSERTYPUNAUTH | ESME not authorised to use specified servicetype |
0x00000101 | 257 | ESME_RPROHIBITED | ESME prohibited from using specified operation |
0x00000102 | 258 | ESME_RSERTYPUNAVAIL | Specified servicetype is unavailable |
0x00000103 | 259 | ESME_RSERTYPDENIED | Specified servicetype is denied |
0x00000104 | 260 | ESME_RINVDCS | Invalid data coding scheme |
0x00000105 | 261 | ESME_RINVSRCADDRSUBUNIT | Invalid source address subunit |
0x00000106 | 262 | ESME_RINVSTDADDRSUBUNIR | Invalid destination address subunit |
0x00000400- | 1024 — | Operator specific error codes |
Command Status
Command Status as defined in [SMPP] (5.1.3).
Please note that SMPP protocol Command Status Error Codes below are specified as
hexadecimal numbers. Remember to do appropriate conversion before checking on results returned by SMSC
through library functions.
Value | Description |
---|---|
0x00000000 | No Error |
0x00000001 | Message Length is invalid |
0x00000002 | Command Length is invalid |
0x00000003 | Invalid Command ID |
0x00000004 | Incorrect BIND Status for given command |
0x00000005 | ESME Already in Bound State |
0x00000006 | Invalid Priority Flag |
0x00000007 | Invalid Registered Delivery Flag |
0x00000008 | System Error |
0x00000009 | Reserved |
0x0000000A | Invalid Source Address |
0x0000000B | Invalid Destination Address |
0x0000000C | Message ID is invalid |
0x0000000D | Bind Failed |
0x0000000E | Invalid Password |
0x0000000F | Invalid System ID |
0x00000010 | Reserved |
0x00000011 | Cancel SM Failed |
0x00000012 | Reserved |
0x00000013 | Replace SM Failed |
0x00000014 | Message Queue Full |
0x00000015 | Invalid Service Type |
0x00000016- 0x00000032 |
Reserved |
0x00000033 | Invalid number of destinations |
0x00000034 | Invalid Distribution List name |
0x00000035- 0x0000003F |
Reserved |
0x00000040 | Destination flag is invalid (submit_multi) |
0x00000041 | Reserved |
0x00000042 | Invalid ‘submit with replace’ request (e.g. submit_sm with replace_if_present_flag set) |
0x00000043 | Invalid esm_class field data |
0x00000044 | Cannot Submit to Distribution List |
0x00000045 | submit_sm or submit_multi failed |
0x00000046- 0x00000047 |
Reserved |
0x00000048 | Invalid Source address TON |
0x00000049 | Invalid Source address NPI |
0x00000050 | Invalid Destination address TON |
0x00000051 | Invalid Destination address NPI |
0x00000052 | Reserved |
0x00000053 | Invalid system_type field |
0x00000054 | Invalid replace_if_present flag |
0x00000055 | Invalid number of messages |
0x00000056- 0x00000057 |
Reserved |
0x00000058 | Throttling error (ESME has exceeded allowed message limits) |
0x00000059- 0x00000060 |
Reserved |
0x00000061 | Invalid Scheduled Delivery Time |
0x00000062 | Invalid message validity period (Expiry time) |
0x00000063 | Predefined Message Invalid or Not Found |
0x00000064 | ESME Receiver Temporary App Error Code |
0x00000065 | ESME Receiver Permanent App Error Code |
0x00000066 | ESME Receiver Reject Message Error Code |
0x00000067 | query_sm request failed |
0x00000068- 0x000000BF |
Reserved |
0x000000C0 | Error in the optional part of the PDU Body |
0x000000C1 | Optional Parameter not allowed |
0x000000C2 | Invalid Parameter Length. |
0x000000C3 | Expected Optional Parameter missing |
0x000000C4 | Invalid Optional Parameter Value |
0x000000C5- 0x000000FD |
Reserved |
0x000000FE | Delivery Failure (used for data_sm_resp) |
0x000000FF | Unknown Error |
0x00000100- 0x000003FF |
Reserved for SMPP extension |
0x00000400- 0x000004FF |
Reserved for SMSC vendor specific errors |
0x00000500- 0xFFFFFFFF |
Reserved |
Message State
Message State as defined in [SMPP] (5.2.28).
Value | Description |
---|---|
1 | The message is in «en route» state |
2 | Message is delivered to destination |
3 | Message validity period has expired |
4 | Message has been deleted |
5 | Message is undeliverable |
6 | Message is in accepted state (e.g. has been manually read on behalf of the subscriber by customer service) |
7 | Message is in invalid state |
8 | Message is in a rejected state |
Network Error Code
Network Error Code as defined in [SMPP] (5.3.2.31).
The Network Error Code parameter is used to indicate the actual network error code for a delivery failure. The network
error code is technology specific. It’s a 3 Octet String which consists of 2 sub fields: Network Type (1 Integer) and
Error Code (2 Integer). The first octet indicates the network type. The following values are defined: 1 = ANSI-136, 2
= IS-95, 3 = GSM, 4 = Reserved. All other values reserved. The remaining two octets specify the actual network error
code appropriate to the network type.