Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DLR not received #1050

Open
eshetua opened this issue Apr 15, 2022 · 2 comments
Open

DLR not received #1050

eshetua opened this issue Apr 15, 2022 · 2 comments
Labels

Comments

@eshetua
Copy link

eshetua commented Apr 15, 2022

Hello!

We use the REST API to send messages and request level 3 DLR with all the necessary configs. It looks like DLR messages are not properly thrown or show as SMS-MO in the messages log (excerpt below). The messages send to the user phone properly ... it's just that further DLR statuses are not sent back to our callback URL.

2022-04-15 20:08:43 INFO 2858991 SMS-MT [cid:WESEND3] [queue-msgid:ff88ea6d-9af7-44a6-97ae-b83c1f131892] [smpp-msgid:b'5f878c79'] [status:CommandStatus.ESME_ROK] [prio:3] [dlr:RegisteredDeliveryReceipt.SMSC_DELIVERY_RECEIPT_REQUESTED] [validity:none] [from:b'AfroMSG'] [to:b'XXX'] [content:b'\xfe\xff\x00D\x00e\x00l\x00i\x00v\x00e\x00r\x00y\x00 \x00c\x00h\x00e\x00c\x00k\x00!\x00 '] 2022-04-15 20:08:45 INFO 2858991 SMS-MO [cid:WESEND2] [queue-msgid:f1283b35-bbb4-4af0-a164-3d87f715adbe] [status:CommandStatus.ESME_ROK] [prio:None] [validity:None] [from:b'XXX'] [to:b'AfroMSG'] [content:b'id:1602718841 submit date:2204152009 done date:2204152009 stat:DELIVRD err:000']

We use 1 for dlr_msgid since one is hex and another is decimal for the message ids. We have also tried switching between data_sm and deliver_sm for dlr_pdu value inside jasmin.cfg. What are we missing and why are DLR messages show as SMS-MO?

Thanks for your help and a fantastic product!

@intothemoonlite
Copy link

@eshetua did you figure out a solution. tried all of the above as well and same error. The issue is that HttpApiError() is quite vague and from this line, it seems it's thrown when the dlr-url returns a status >= 400.

I have tried my dlr-url and it's returns a 200 OK with ACK/Jasmin content. Would love to hear an update if you got this working, thanks!

Copy link

Stale issue detected, remove stale label or comment or this will be closed soon.

@github-actions github-actions bot added the Stale label Feb 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants