jasmin
jasmin copied to clipboard
How to save dlr to database
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
use a amqp listener/consumer, checkout the docs concerning the messaging part.
Does your http://localhost/dlr_receiver.php respond with http code 200 and with "ACK/Jasmin" in it's body?