ESME_RSERTYPUNAVAIL in SMPP
What is ESME_RSERTYPUNAVAIL?
ESME_RSERTYPUNAVAIL (Error Code: 0x00000106) indicates that the requested service type is unavailable or not supported by the SMSC.
Possible Causes
- The specified
service_type
is not supported by the SMSC. - The ESME account does not have permission to use the requested service type.
- The SMSC has disabled the requested service type.
- Incorrect
service_type
value in thesubmit_sm
PDU.
When Does It Happen?
This error occurs when an ESME attempts to send a message using a service type that the SMSC does not recognize or allow.
Example SMPP PDU Transaction
Request PDU (submit_sm
) Sent by ESME
0000003C (Length) 00000004 (Command ID for submit_sm) 00000000 (Command Status) 00000001 (Sequence Number) 7472616E 73616374 696F6E00 (Service Type: "transaction") <-- Unsupported Service Type 01 (Source Address TON - International) 01 (Source Address NPI - ISDN) 31323334 00 (Source Address: "1234") 01 (Destination Address TON - International) 01 (Destination Address NPI - ISDN) 39383736 00 (Destination Address: "9876") 00 (ESM Class) 00 (Protocol ID) 00 (Priority Flag) 00000000 (Schedule Delivery Time - Not Set) 00000000 (Validity Period - Not Set) 00 (Replace If Present Flag) 00 (Sm Default Msg ID) 0005 (Message Length) 48656C6C 6F (Message: "Hello")
Response PDU (submit_sm_resp
) Indicating ESME_RSERTYPUNAVAIL
00000010 (Length) 80000004 (Command ID for submit_sm_resp) 00000106 (Command Status - ESME_RSERTYPUNAVAIL) 00000001 (Sequence Number)
How to Solve It?
- Verify the allowed
service_type
values with your SMSC provider. - Use a supported
service_type
or leave it blank if optional. - Check if the ESME account has permission to use the requested service.
- Contact the SMSC provider for further clarification.
To resolve this issue, ensure that you are using a valid and supported service type in the submit_sm
request.