ESME_RPROHIBITED in SMPP
What is ESME_RPROHIBITED?
ESME_RPROHIBITED (Error Code: 0x00000105) indicates that the requested operation is prohibited for the ESME. This means the SMSC has explicitly restricted the ESME from performing the action.
Possible Causes
- The ESME account lacks permission to send messages to the specified destination.
- Content filtering rules block the message.
- Geographical or network restrictions prevent message delivery.
- The SMSC has blacklisted the sender or receiver.
- Regulatory compliance issues.
When Does It Happen?
This error occurs when the SMSC enforces a policy that prevents the ESME from submitting a message, binding, or performing another SMPP operation.
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) 00 (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_RPROHIBITED
00000010 (Length) 80000004 (Command ID for submit_sm_resp) 00000105 (Command Status - ESME_RPROHIBITED) 00000001 (Sequence Number)
How to Solve It?
- Verify if your account has the necessary permissions to send messages to the destination.
- Check for regulatory restrictions or content filtering rules.
- Ensure that the destination number is not blacklisted by the SMSC.
- Contact your SMSC provider to understand the restriction and request access if necessary.
This error typically requires coordination with the SMSC provider to determine the specific policy restriction in place.