jookies / jasmin

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

How to save dlr to database #1010

Closed regasaa closed 6 days ago

regasaa commented 2 years ago

2021-09-24 13:55:21 DEBUG 2682013 Got one message (msgid:6401da92-a6b1-40e2-8537-c53f38769779) to throw 2021-09-24 13:55:21 DEBUG 2682013 Calling http://localhost/dlr_receiver.php with args {'id': '6401da92-a6b1-40e2-8537-c53f38769779', 'level': 1, 'message_status': 'ESME_ROK', 'connector': 'DEMO_CONNECTOR'} using POST method. 2021-09-24 13:55:21 INFO 2682013 Throwed DLR [msgid:6401da92-a6b1-40e2-8537-c53f38769779] to http://localhost/dlr_receiver.php. 2021-09-24 13:55:21 DEBUG 2682013 Destination end replied to message [msgid:6401da92-a6b1-40e2-8537-c53f38769779]: 'Connected successfully' 2021-09-24 13:55:21 ERROR 2682013 Throwing HTTP/DLR [msgid:6401da92-a6b1-40e2-8537-c53f38769779] to (http://localhost/dlr_receiver.php): MessageAcknowledgementError('Destination end did not acknowledge receipt of the DLR message.'). 2021-09-24 13:55:21 DEBUG 2682013 Message try-count is 3 [msgid:6401da92-a6b1-40e2-8537-c53f38769779]: requeuing 2021-09-24 13:55:21 DEBUG 2682013 Requeuing Content[6401da92-a6b1-40e2-8537-c53f38769779] with delay: 30 seconds

farirat commented 2 years ago

use a amqp listener/consumer, checkout the docs concerning the messaging part.

mexicarne commented 2 years ago

Does your http://localhost/dlr_receiver.php respond with http code 200 and with "ACK/Jasmin" in it's body?

github-actions[bot] commented 1 month ago

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

github-actions[bot] commented 6 days ago

This issue was closed because it has been stalled more than a year with no activity.