ESME_RSERTYPUNAUTH in SMPP
What is ESME_RSERTYPUNAUTH?
ESME_RSERTYPUNAUTH (Error Code: 0x00000104) indicates that the requested service type is unauthorized for the ESME. This means the ESME is attempting to use a service it does not have permission to access.
Possible Causes
- The ESME is not authorized to send messages of the requested service type.
- Incorrect or unsupported service type specified in the
submit_sm
request. - Account restrictions imposed by the SMSC provider.
- Misconfiguration in the SMSC settings.
When Does It Happen?
This error occurs when an ESME submits an SMPP request with a service type that is restricted or unauthorized based on the account permissions configured by the SMSC.
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) 65787072 65737300 (Service Type: "express") 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_RSERTYPUNAUTH
00000010 (Length) 80000004 (Command ID for submit_sm_resp) 00000104 (Command Status - ESME_RSERTYPUNAUTH) 00000001 (Sequence Number)
How to Solve It?
- Verify that the
service_type
parameter in the request is correct and allowed for your account. - Check your SMSC account permissions and confirm whether the requested service type is authorized.
- Consult the SMSC provider to request access to the required service type if needed.
- Ensure that the correct SMPP credentials and configurations are being used.
Contact your SMSC provider if you are unsure about which service types are permitted for your account.