ESME_RSUBMITFAIL in SMPP
What is ESME_RSUBMITFAIL?
ESME_RSUBMITFAIL (Error Code: 0x00000045) is an SMPP error indicating that the message submission has failed due to an unspecified reason.
Possible Causes
- Temporary SMSC failure or congestion.
- Incorrectly formatted
submit_sm
orsubmit_multi
PDU. - Invalid source or destination address.
- Message content violates SMSC policies.
- Account restrictions or insufficient credits.
When Does It Happen?
This error occurs when an ESME attempts to submit a message using submit_sm
or submit_multi
, but the SMSC rejects the request due to an unknown failure.
Example SMPP PDU Transaction
Incorrect submit_sm
PDU (Submission Failure)
0000002F (Length) 00000004 (Command ID for submit_sm) 00000000 (Command Status) 00000001 (Sequence Number) 00 (Service Type) 01 (Source Address TON) 01 (Source Address NPI) 31323334 00 (Source Address: "1234") 01 (Destination Address TON) 01 (Destination Address NPI) 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 (Registered Delivery) 00 (Replace If Present Flag) 00 (Sm Default Msg ID) 0005 (Message Length) 48656C6C 6F (Message: "Hello")
Response PDU (submit_sm_resp
) with ESME_RSUBMITFAIL
00000010 (Length) 80000004 (Command ID for submit_sm_resp) 00000045 (Command Status - ESME_RSUBMITFAIL) 00000001 (Sequence Number)
Issue: The SMSC encountered an unknown issue preventing message submission.
How to Solve It?
- Retry the message submission after a short delay.
- Ensure the message format follows SMPP specifications.
- Verify that the source and destination addresses are correct.
- Check account status, including credit balance and restrictions.
- Contact the SMSC provider for further investigation if the issue persists.
If the problem continues, enabling debugging logs and consulting the SMSC provider can help determine the root cause.