All new World-Text Website! Explore Now

SMPP Codes

This reference page collects the commonly used SMPP command ID values and SMPP error codes used alongside the World Text SMPP interface.

SMPP Command ID Values {#command-ids}

Value Name Description
0x80000000ESME_NACKNegative acknowledgement
0x00000001ESME_BNDRCVBind to SMSC kernel as a receiver
0x80000001ESME_BNDRCV_RESPResponse to bind_receiver
0x00000002ESME_BNDTRNBind to SMSC kernel as transmitter
0x80000002ESME_BNDTRN_RESPResponse to bind_transmitter
0x00000003ESME_QUERY_SMQuery status of a short-message
0x80000003ESME_QUERY_SM_RESPResponse to query_sm
0x00000004ESME_SUB_SMSubmit a short-message
0x80000004ESME_SUB_SM_RESPResponse to submit_sm
0x00000005SMSC_DELIVER_SMSubmit a short-message to ESME
0x80000005SMSC_DELIVER_SM_RESPResponse to deliver_sm
0x00000006ESME_UBDUnbind from SMSC kernel
0x80000006ESME_UBD_RESPResponse to unbind
0x00000007ESME_REPLACE_SMReplace a short message
0x80000007ESME_REPLACE_SM_RESPResponse to replace_sm
0x00000008ESME_CANCEL_SMCancel a short message
0x80000008ESME_CANCEL_SM_RESPResponse to cancel_sm
0x00000009ESME_BIND_TRANSCEIVERBind to SMSC kernel as transceiver
0x80000009ESME_BIND_TRANSCEIVER_RESPResponse to bind_transceiver
0x0000000BSMSC_OUTBINDOutbind request to a remote server
0x00000015ESME_QRYLINKLink confidence check
0x80000015ESME_QRYLINK_RESPResponse to enquire_link
0x00000021ESME_SUB_MULTISubmit a short message to multiple recipients
0x80000021ESME_SUB_MULTI_RESPResponse to submit_multi
0x00000102SMSC_ALERT_NOTIFICATIONNotification that a device is ready to receive messages
0x00000103ESME_DATA_SMSubmit a short data message
0x80000103ESME_DATA_SM_RESPResponse to data_sm

SMPP Error Codes {#error-codes}

Value Name Description
0ESME_ROKOK - message acceptable
1ESME_RINVMSGLENInvalid message length
2ESME_RINVCMDLENInvalid command length
3ESME_RINVCMDIDInvalid command ID
4ESME_RINVBNDSTSInvalid bind status
5ESME_RALYBNDBind attempted when already bound
6ESME_RINVPRTFLGInvalid priority flag
7ESME_RINVREGDLVFLGInvalid registered-delivery flag
8ESME_RSYSERRSMSC system error
10ESME_RINVSRCADRInvalid source address
11ESME_RINVDSTADRInvalid destination address
12ESME_RINVMSGIDInvalid message-id
13ESME_RBINDFAILGeneric bind failure
14ESME_RINVPASWDInvalid password
15ESME_RINVSYSIDInvalid system-id
17ESME_RCANCELFAILCancel failure
19ESME_RREPLACEFAILReplace failure
21ESME_RMSGQFULToo many messages in queue at present
22ESME_RINVSERTYPInvalid service type
51ESME_RINVNUMDESTSInvalid number of destination addresses
52ESME_RINVDLNAMEInvalid name
64ESME_RINVDESTFLAGInvalid destination flag option
66ESME_RINVSUBREPInvalid value for submit with replace option
67ESME_RINVESMCLASSInvalid value for `esm_class` field
68ESME_RCNTSUBDLCannot submit to a distribution list
69ESME_RSUBMITFAILGeneric submission failure
72ESME_RINVSRCTONInvalid type of number for source
73ESME_RINVSRCNPIInvalid numbering plan indicator for source
74ESME_RINVDSTTONInvalid type of number for destination
75ESME_RINVDSTNPIInvalid numbering plan indicator for destination
77ESME_RINVSYSTYPInvalid `esm` type
78ESME_RINVREPFLAGInvalid submit with replace flag option
85ESME_RINVNUMMSGSInvalid number of messages specified for `query_last_msgs`
88ESME_RTHROTTLEDSMSC is throttling inbound messages
97ESME_RINVSCHED
98ESME_RINVEXPIRYInvalid validity date
99ESME_RINVDFTMSGID
100ESME_RX_T_APPN
101ESME_RX_P_APPN
102ESME_RX_R_APPN
103ESME_RQUERYFAILQuery failure
192ESME_RINVOPTPARSTREAM
193ESME_ROPTPARNOTALLWD
194ESME_RINVPARLENInvalid optional parameter length
195ESME_RMISSINGOPTPARAMMissing optional parameter
196ESME_RINVOPTPARAMVALInvalid optional parameter value
254ESME_RDELIVERYFAILUREGeneric delivery failure
255ESME_RUNKNOWNERRUnknown error

Transform Messaging with World-Text

Elevate your communication strategy with World-Text. Seamlessly integrate SMS, RCS, and WhatsApp messaging into your business to enable reliable one-way alerts and dynamic two-way conversations. Engage your customers on their preferred platforms with ease, scalability, and the power of cutting-edge messaging solutions.