Hi Again!!! I successfully receive delivery report whith your suggestion. I add “accept-x-kannel-headers = true” to the service-sms module and specify into the send sms request the parameters dlr-mask and dlr-url. I used dlr-url urlencoded like the oficial documentation specify.
Thanks a lot for your reply. Enviado desde Correo para Windows 10 De: [email protected] Enviado: miércoles, junio 27, 2018 9:52 AM Para: Sergio Toro Escofet CC: [email protected] Asunto: Re: Kannel Delivery Report Does not work modem GSM Hi, did you request DLR from Kannel with dlr-mask ? If yes, please provide Kannel version used, URL you used to call smsbox, debug log of smsbox and bearerbox. Thanks, Alex Am 26.06.2018 um 20:59 schrieb Sergio Toro Escofet <[email protected]>: Hi!!!, I´ve read a lot of post about kannel delivery report where does not work, I read the official documentation more than once and i can´t figure out how receive delivery report throught gsm modem. I´m using Kannel 1.4.4. I know that my modem gsm configuration is right becase I used minicom and configure the modem by AT Comands, them i send message by same way, AT Commands, and I receive status report successfully. My Kannel configuration is: ########################################################### # # HTTP administration is disabled by default. Make sure you set the # password if you enable it. group = core admin-port = 13000 admin-password = bar admin-allow-ip = "*.*.*.*" dlr-storage = internal sms-resend-retry = 10 log-file = "/var/log/kannel/bearerbox.log" smsbox-port = 13001 box-allow-ip = "*.*.*.*" group = smsbox bearerbox-host = 192.168.15.130 sendsms-port = 13013 sendsms-chars = "0123456789 +-" log-file = "/var/log/kannel/smsbox.log" log-level = 0 reply-couldnotfetch = "Your message could not be processed at this time. Please try again later. (err=couldnotfetch)" reply-requestfailed = "Your message could not be processed at this time. Please try again later. (err=requestfailed)" reply-couldnotrepresent = "Your message could not be processed at this time. Please try again later. (err=couldnotrepresent)" http-request-retry = 3 http-queue-delay = 10 group = smsc smsc = at modemtype = falcom smsc-id=modemgsm my-number = "5358466786" sim-buffering = true device = /dev/ttyACM0 keepalive = 60 speed = 9600 pin = 1415 alt-charset = "UTF-8" log-file = "/var/log/kannel/smsmodem.log" group = sendsms-user username = sergio password = sergio user-allow-ip = "*.*.*.*" group = sms-service keyword = ping-kannel text = "Kannel is online and responding to messages." group = sms-service keyword = default accepted-smsc = modemgsm assume-plain-text = true concatenation = true max-messages = 0 dlr-mask = 31 get-url = http://192.168.15.1:44/get-sms/?id=%p&text=%a&charset=%C&coding=%c&time=%t&timemillis=%T dlr-url = http://192.168.15.1:44/get-dlr/?id=%p&text=%a&charset=%C&coding=%c&time=%t&timemillis=%T&idmessage=%F group = modems init-string = "AT+CSMS=1;AT+CNMI=2,0,0,2,1;AT+CSMP=49,167,0,0;+CMEE=1" message-storage = SM speed = 9600 id = falcom ################################################################# Even I configure my modem to store the delivery report on the SM storage whith AT+CNMI=2,0,0,2,1 and when i run it whit Kannel it does not work, never receive the delivery report and never store in the sim, i know it because I´ve keep researching into modem gsm kannel logs and never receive the delivery report. Thanks in advantage
