jookies / jasmin

Jasmin - Open source SMS gateway
http://jasminsms.com
Other
1.02k stars 549 forks source link

ESME_RSUBMITFAIL error in SMPP integration #1114

Open PureCodeSa opened 1 year ago

PureCodeSa commented 1 year ago

Hello

I am currently facing an issue with the SMPP integration using JasminSMS as the SMS gateway. After successfully establishing a connection to the SMPP gateway, I attempted to use the http://127.0.0.1:1401/send? endpoint for sending SMS messages. The endpoint functions correctly and returns a message ID.

However, upon inspecting the messages.log, I noticed the following error:

SMS-MT [cid:DEMO_CONNECTOR] [queue-msgid:feaccc87-aqqe-45f7-8592-c18118b71003] [status:ERROR/CommandStatus.ESME_RSUBMITFAIL] [retry:False] [prio:0] [dlr:RegisteredDeliveryReceipt.SMSC_DELIVERY_RECEIPT_REQUESTED]

Upon further investigation, I discovered that there is a parameter mismatch between the expected parameters in JasminSMS and the ones used by the gateway. Specifically, the gateway expects the parameter to be called "message" instead of "content".

Could this parameter mismatch be the cause of the ESME_RSUBMITFAIL error ?