RE: Kannel Delivery Report Does not work modem GSM
Sergio Toro Escofet <[email protected]> Wed, 27 Jun 2018 23:30:35 +0200
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <[email protected]> |
--_6AB948C8-D820-4328-B5D7-30344E6A78AD_ Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Hi Again!!! I successfully receive delivery report whith your suggestion. I add =E2=80=9Caccept-x-kannel-headers =3D true=E2=80=9D to the service-sms= module and specify into the send sms request the parameters dlr-mask and d= lr-url. I used dlr-url urlencoded like the oficial documentation specify.=20 Thanks a lot for your reply. =20 Enviado desde Correo para Windows 10 De: [email protected] Enviado: mi=C3=A9rcoles, 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, de= bug log of smsbox and bearerbox. Thanks, Alex Am 26.06.2018 um 20:59 schrieb Sergio Toro Escofet <[email protected]>: Hi!!!, I=C2=B4ve read a lot of post about kannel delivery report where does= not work, I read the official documentation more than once and i can=C2=B4= t figure out how receive delivery report throught gsm modem. I=C2=B4m using= Kannel 1.4.4. I know that my modem gsm configuration is right becase I used minicom and c= onfigure the modem by AT Comands, them i send message by same way, AT Comma= nds, and I=C2=A0 receive status report successfully.=20 My Kannel configuration is: ########################################################### # # HTTP administration is disabled by default. Make sure you set the # password if you enable it. group =3D core admin-port =3D 13000 admin-password =3D bar admin-allow-ip =3D "*.*.*.*" dlr-storage =3D internal sms-resend-retry =3D 10 log-file =3D "/var/log/kannel/bearerbox.log" smsbox-port =3D 13001 box-allow-ip =3D "*.*.*.*" group =3D smsbox bearerbox-host =3D 192.168.15.130 sendsms-port =3D 13013 sendsms-chars =3D "0123456789 +-" log-file =3D "/var/log/kannel/smsbox.log" log-level =3D 0 reply-couldnotfetch =3D "Your message could not be processed at this time.= =C2=A0 Please try again later. (err=3Dcouldnotfetch)" reply-requestfailed =3D "Your message could not be processed at this time.= =C2=A0 Please try again later. (err=3Drequestfailed)" reply-couldnotrepresent =3D "Your message could not be processed at this ti= me.=C2=A0 Please try again later. (err=3Dcouldnotrepresent)" http-request-retry =3D 3 http-queue-delay =3D 10 group =3D smsc smsc =3D at modemtype =3D falcom smsc-id=3Dmodemgsm my-number =3D "5358466786" sim-buffering =3D true device =3D=C2=A0 /dev/ttyACM0 keepalive =3D 60 speed =3D 9600 pin =3D 1415 alt-charset =3D "UTF-8" log-file =3D "/var/log/kannel/smsmodem.log" group =3D sendsms-user username =3D sergio password =3D sergio user-allow-ip =3D "*.*.*.*" group =3D sms-service keyword =3D ping-kannel text =3D "Kannel is online and responding to messages." group =3D sms-service keyword =3D default accepted-smsc =3D modemgsm assume-plain-text =3D true concatenation =3D true max-messages =3D 0 dlr-mask =3D 31 get-url =3D http://192.168.15.1:44/get-sms/?id=3D%p&text=3D%a&charset=3D%C&= coding=3D%c&time=3D%t&timemillis=3D%T dlr-url =3D http://192.168.15.1:44/get-dlr/?id=3D%p&text=3D%a&charset=3D%C&= coding=3D%c&time=3D%t&timemillis=3D%T&idmessage=3D%F group =3D modems init-string =3D "AT+CSMS=3D1;AT+CNMI=3D2,0,0,2,1;AT+CSMP=3D49,167,0,0;+CMEE= =3D1" message-storage =3D SM speed =3D 9600 id =3D falcom ################################################################# Even I configure my modem to store the delivery report on the SM storage wh= ith AT+CNMI=3D2,0,0,2,1=C2=A0 and when i run it whit Kannel it does not wor= k, never receive the delivery report and never store in the sim, i know it = because I=C2=B4ve keep researching into modem gsm kannel logs and never rec= eive the delivery report. Thanks in advantage --_6AB948C8-D820-4328-B5D7-30344E6A78AD_ Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset="utf-8" <html xmlns:o=3D"urn:schemas-microsoft-com:office:office" xmlns:w=3D"urn:sc= hemas-microsoft-com:office:word" xmlns:m=3D"http://schemas.microsoft.com/of= fice/2004/12/omml" xmlns=3D"http://www.w3.org/TR/REC-html40"><head><meta ht= tp-equiv=3DContent-Type content=3D"text/html; charset=3Dutf-8"><meta name= =3DGenerator content=3D"Microsoft Word 15 (filtered medium)"><style><!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:11.0pt; font-family:"Calibri",sans-serif;} a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {mso-style-priority:99; color:#954F72; text-decoration:underline;} .MsoChpDefault {mso-style-type:export-only;} @page WordSection1 {size:8.5in 11.0in; margin:70.85pt 85.05pt 70.85pt 85.05pt;} div.WordSection1 {page:WordSection1;} --></style></head><body lang=3DES-US link=3Dblue vlink=3D"#954F72"><div cla= ss=3DWordSection1><p class=3DMsoNormal>Hi Again!!! I successfully receive d= elivery report whith your suggestion.</p><p class=3DMsoNormal><o:p> </= o:p></p><p class=3DMsoNormal>I add =E2=80=9Caccept-x-kannel-headers =3D tru= e=E2=80=9D 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 ofi= cial documentation specify. </p><p class=3DMsoNormal><o:p> </o:p></p><= p class=3DMsoNormal>Thanks a lot for your reply. =C2=A0</p><p class=3DMsoNo= rmal><o:p> </o:p></p><p class=3DMsoNormal>Enviado desde <a href=3D"htt= ps://go.microsoft.com/fwlink/?LinkId=3D550986">Correo</a> para Windows 10</= p><p class=3DMsoNormal><o:p> </o:p></p><div style=3D'mso-element:para-= border-div;border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in= 0in'><p class=3DMsoNormal style=3D'border:none;padding:0in'><b>De: </b><a = href=3D"mailto:[email protected]">[email protected]</a><br><b>Enviado: </= b>mi=C3=A9rcoles, junio 27, 2018 9:52 AM<br><b>Para: </b><a href=3D"mailto:= [email protected]">Sergio Toro Escofet</a><br><b>CC: </b><a href=3D"mail= to:[email protected]">[email protected]</a><br><b>Asunto: </b>Re: Kannel Deli= very Report Does not work modem GSM</p></div><p class=3DMsoNormal><o:p>&nbs= p;</o:p></p><p class=3DMsoNormal>Hi,<o:p></o:p></p><div><p class=3DMsoNorma= l><o:p> </o:p></p></div><div><p class=3DMsoNormal>did you request DLR = from Kannel with dlr-mask ?<o:p></o:p></p></div><div><p class=3DMsoNormal>I= f yes, please provide Kannel version used, URL you used to call smsbox, deb= ug log of smsbox and bearerbox.<o:p></o:p></p></div><div><p class=3DMsoNorm= al><o:p> </o:p></p></div><div><p class=3DMsoNormal>Thanks,<o:p></o:p><= /p></div><div><p class=3DMsoNormal>Alex<o:p></o:p></p></div><div><p class= =3DMsoNormal><o:p> </o:p></p><div><p class=3DMsoNormal><br><br><o:p></= o:p></p><blockquote style=3D'margin-top:5.0pt;margin-bottom:5.0pt'><div><p = class=3DMsoNormal>Am 26.06.2018 um 20:59 schrieb Sergio Toro Escofet <<a= href=3D"mailto:[email protected]">[email protected]</a>>:<o:p></o= :p></p></div><p class=3DMsoNormal><o:p> </o:p></p><div><div><div><p cl= ass=3DMsoNormal>Hi!!!, I=C2=B4ve read a lot of post about kannel delivery r= eport where does not work, I read the official documentation more than once= and i can=C2=B4t figure out how receive delivery report throught gsm modem= . I=C2=B4m using Kannel 1.4.4.<o:p></o:p></p></div><div><p class=3DMsoNorma= l><o:p> </o:p></p></div><div><p class=3DMsoNormal>I know that my modem= gsm configuration is right becase I used minicom and configure the modem b= y AT Comands, them i send message by same way, AT Commands, and I rec= eive status report successfully. <o:p></o:p></p></div><div><p class=3DMsoNo= rmal><o:p> </o:p></p></div><div><p class=3DMsoNormal>My Kannel configu= ration is:<o:p></o:p></p></div><div><p class=3DMsoNormal>##################= #########################################<o:p></o:p></p></div><div><p class= =3DMsoNormal>#<br><br># HTTP administration is disabled by default. Make su= re you set the<br># password if you enable it.<br><br>group =3D core<br>adm= in-port =3D 13000<br>admin-password =3D bar<br>admin-allow-ip =3D "*.*= .*.*"<br>dlr-storage =3D internal<br>sms-resend-retry =3D 10<br>log-fi= le =3D "/var/log/kannel/bearerbox.log"<br>smsbox-port =3D 13001<b= r>box-allow-ip =3D "*.*.*.*"<br><br><br>group =3D smsbox<br>beare= rbox-host =3D 192.168.15.130<br>sendsms-port =3D 13013<br>sendsms-chars =3D= "0123456789 +-"<br>log-file =3D "/var/log/kannel/smsbox.log= "<br>log-level =3D 0<br>reply-couldnotfetch =3D "Your message cou= ld not be processed at this time. Please try again later. (err=3Dcoul= dnotfetch)"<br>reply-requestfailed =3D "Your message could not be= processed at this time. Please try again later. (err=3Drequestfailed= )"<br>reply-couldnotrepresent =3D "Your message could not be proc= essed at this time. Please try again later. (err=3Dcouldnotrepresent)= "<br>http-request-retry =3D 3<br>http-queue-delay =3D 10<br><br><br>gr= oup =3D smsc<br>smsc =3D at<br>modemtype =3D falcom<br>smsc-id=3Dmodemgsm<b= r>my-number =3D "5358466786"<br>sim-buffering =3D true<br>device = =3D /dev/ttyACM0<br>keepalive =3D 60<br>speed =3D 9600<br>pin =3D 141= 5<br>alt-charset =3D "UTF-8"<br>log-file =3D "/var/log/kanne= l/smsmodem.log"<br><br>group =3D sendsms-user<br>username =3D sergio<b= r>password =3D sergio<br>user-allow-ip =3D "*.*.*.*"<br><br>group= =3D sms-service<br>keyword =3D ping-kannel<br>text =3D "Kannel is onl= ine and responding to messages."<br><br>group =3D sms-service<br>keywo= rd =3D default<br>accepted-smsc =3D modemgsm<br>assume-plain-text =3D true<= br>concatenation =3D true<br>max-messages =3D 0<br>dlr-mask =3D 31<br>get-u= rl =3D <a href=3D"http://192.168.15.1:44/get-sms/?id=3D%25p&text=3D%25a= &charset=3D%25C&coding=3D%25c&time=3D%25t&timemillis=3D%25T= ">http://192.168.15.1:44/get-sms/?id=3D%p&text=3D%a&charset=3D%C&am= p;coding=3D%c&time=3D%t&timemillis=3D%T</a><br>dlr-url =3D <a href= =3D"http://192.168.15.1:44/get-dlr/?id=3D%25p&text=3D%25a&charset= =3D%25C&coding=3D%25c&time=3D%25t&timemillis=3D%25T&idmessa= ge=3D%25F">http://192.168.15.1:44/get-dlr/?id=3D%p&text=3D%a&charse= t=3D%C&coding=3D%c&time=3D%t&timemillis=3D%T&idmessage=3D%F= </a><br><br>group =3D modems<br>init-string =3D "AT+CSMS=3D1;AT+CNMI= =3D2,0,0,2,1;AT+CSMP=3D49,167,0,0;+CMEE=3D1"<br>message-storage =3D SM= <br>speed =3D 9600<br>id =3D falcom<o:p></o:p></p></div><div><p class=3DMso= Normal><o:p> </o:p></p></div><div><p class=3DMsoNormal>###############= ##################################################<o:p></o:p></p></div><div= ><p class=3DMsoNormal><o:p> </o:p></p></div><div><p class=3DMsoNormal>= Even I configure my modem to store the delivery report on the SM storage wh= ith AT+CNMI=3D2,0,0,2,1 and when i run it whit Kannel it does not wor= k, never receive the delivery report and never store in the sim, i know it = because I=C2=B4ve keep researching into modem gsm kannel logs and never rec= eive the delivery report.<o:p></o:p></p></div><div><p class=3DMsoNormal><o:= p> </o:p></p></div><div><p class=3DMsoNormal>Thanks in advantage<o:p><= /o:p></p></div></div></div></blockquote></div></div><p class=3DMsoNormal><o= :p> </o:p></p><p class=3DMsoNormal><o:p> </o:p></p></div></body><= /html>= --_6AB948C8-D820-4328-B5D7-30344E6A78AD_--