Re: Kannel Delivery Report Does not work modem GSM

[email protected] Wed, 27 Jun 2018 09:52:15 +0200
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
--Apple-Mail=_1F3ED8D5-8FD3-4B55-A0FA-ECFABC2F38D7
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

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]>:
>=20
> 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=B4t figure out how receive delivery report throught gsm modem. =
I=C2=B4m using Kannel 1.4.4.
>=20
> 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.=20
>=20
> My Kannel configuration is:
> ###########################################################
> #
>=20
> # HTTP administration is disabled by default. Make sure you set the
> # password if you enable it.
>=20
> 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 "*.*.*.*"
>=20
>=20
> 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.  Please try again later. (err=3Dcouldnotfetch)"
> reply-requestfailed =3D "Your message could not be processed at this =
time.  Please try again later. (err=3Drequestfailed)"
> reply-couldnotrepresent =3D "Your message could not be processed at =
this time.  Please try again later. (err=3Dcouldnotrepresent)"
> http-request-retry =3D 3
> http-queue-delay =3D 10
>=20
>=20
> group =3D smsc
> smsc =3D at
> modemtype =3D falcom
> smsc-id=3Dmodemgsm
> my-number =3D "5358466786"
> sim-buffering =3D true
> device =3D  /dev/ttyACM0
> keepalive =3D 60
> speed =3D 9600
> pin =3D 1415
> alt-charset =3D "UTF-8"
> log-file =3D "/var/log/kannel/smsmodem.log"
>=20
> group =3D sendsms-user
> username =3D sergio
> password =3D sergio
> user-allow-ip =3D "*.*.*.*"
>=20
> group =3D sms-service
> keyword =3D ping-kannel
> text =3D "Kannel is online and responding to messages."
>=20
> 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 =
<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 =
<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>
>=20
> 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
>=20
> #################################################################
>=20
> Even I configure my modem to store the delivery report on the SM =
storage whith AT+CNMI=3D2,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=C2=B4ve keep researching into modem gsm kannel logs =
and never receive the delivery report.
>=20
> Thanks in advantage


--Apple-Mail=_1F3ED8D5-8FD3-4B55-A0FA-ECFABC2F38D7
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; =
charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; line-break: after-white-space;" =
class=3D"">Hi,<div class=3D""><br class=3D""></div><div class=3D"">did =
you request DLR from Kannel with dlr-mask ?</div><div class=3D"">If yes, =
please provide Kannel version used, URL you used to call smsbox, debug =
log of smsbox and bearerbox.</div><div class=3D""><br =
class=3D""></div><div class=3D"">Thanks,</div><div =
class=3D"">Alex</div><div class=3D""><br class=3D""><div><br =
class=3D""><blockquote type=3D"cite" class=3D""><div class=3D"">Am =
26.06.2018 um 20:59 schrieb Sergio Toro Escofet &lt;<a =
href=3D"mailto:[email protected]" =
class=3D"">[email protected]</a>&gt;:</div><br =
class=3D"Apple-interchange-newline"><div class=3D""><div dir=3D"ltr" =
class=3D""><div class=3D"">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=B4t figure out how receive =
delivery report throught gsm modem. I=C2=B4m using Kannel =
1.4.4.</div><div class=3D""><br class=3D""></div><div class=3D"">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&nbsp; receive status report successfully. <br =
class=3D""></div><div class=3D""><br class=3D""></div><div class=3D"">My =
Kannel configuration is:</div><div =
class=3D"">###########################################################<br =
class=3D""></div><div class=3D"">#<br class=3D""><br class=3D""># HTTP =
administration is disabled by default. Make sure you set the<br =
class=3D""># password if you enable it.<br class=3D""><br class=3D"">group=
 =3D core<br class=3D"">admin-port =3D 13000<br class=3D"">admin-password =
=3D bar<br class=3D"">admin-allow-ip =3D "*.*.*.*"<br =
class=3D"">dlr-storage =3D internal<br class=3D"">sms-resend-retry =3D =
10<br class=3D"">log-file =3D "/var/log/kannel/bearerbox.log"<br =
class=3D"">smsbox-port =3D 13001<br class=3D"">box-allow-ip =3D =
"*.*.*.*"<br class=3D""><br class=3D""><br class=3D"">group =3D =
smsbox<br class=3D"">bearerbox-host =3D 192.168.15.130<br =
class=3D"">sendsms-port =3D 13013<br class=3D"">sendsms-chars =3D =
"0123456789 +-"<br class=3D"">log-file =3D =
"/var/log/kannel/smsbox.log"<br class=3D"">log-level =3D 0<br =
class=3D"">reply-couldnotfetch =3D "Your message could not be processed =
at this time.&nbsp; Please try again later. (err=3Dcouldnotfetch)"<br =
class=3D"">reply-requestfailed =3D "Your message could not be processed =
at this time.&nbsp; Please try again later. (err=3Drequestfailed)"<br =
class=3D"">reply-couldnotrepresent =3D "Your message could not be =
processed at this time.&nbsp; Please try again later. =
(err=3Dcouldnotrepresent)"<br class=3D"">http-request-retry =3D 3<br =
class=3D"">http-queue-delay =3D 10<br class=3D""><br class=3D""><br =
class=3D"">group =3D smsc<br class=3D"">smsc =3D at<br =
class=3D"">modemtype =3D falcom<br class=3D"">smsc-id=3Dmodemgsm<br =
class=3D"">my-number =3D "5358466786"<br class=3D"">sim-buffering =3D =
true<br class=3D"">device =3D&nbsp; /dev/ttyACM0<br class=3D"">keepalive =
=3D 60<br class=3D"">speed =3D 9600<br class=3D"">pin =3D 1415<br =
class=3D"">alt-charset =3D "UTF-8"<br class=3D"">log-file =3D =
"/var/log/kannel/smsmodem.log"<br class=3D""><br class=3D"">group =3D =
sendsms-user<br class=3D"">username =3D sergio<br class=3D"">password =3D =
sergio<br class=3D"">user-allow-ip =3D "*.*.*.*"<br class=3D""><br =
class=3D"">group =3D sms-service<br class=3D"">keyword =3D =
ping-kannel<br class=3D"">text =3D "Kannel is online and responding to =
messages."<br class=3D""><br class=3D"">group =3D sms-service<br =
class=3D"">keyword =3D default<br class=3D"">accepted-smsc =3D =
modemgsm<br class=3D"">assume-plain-text =3D true<br =
class=3D"">concatenation =3D true<br class=3D"">max-messages =3D 0<br =
class=3D"">dlr-mask =3D 31<br class=3D"">get-url =3D <a =
href=3D"http://192.168.15.1:44/get-sms/?id=3D%p&amp;text=3D%a&amp;charset=3D=
%C&amp;coding=3D%c&amp;time=3D%t&amp;timemillis=3D%T" =
class=3D"">http://192.168.15.1:44/get-sms/?id=3D%p&amp;text=3D%a&amp;chars=
et=3D%C&amp;coding=3D%c&amp;time=3D%t&amp;timemillis=3D%T</a><br =
class=3D"">dlr-url =3D <a =
href=3D"http://192.168.15.1:44/get-dlr/?id=3D%p&amp;text=3D%a&amp;charset=3D=
%C&amp;coding=3D%c&amp;time=3D%t&amp;timemillis=3D%T&amp;idmessage=3D%F" =
class=3D"">http://192.168.15.1:44/get-dlr/?id=3D%p&amp;text=3D%a&amp;chars=
et=3D%C&amp;coding=3D%c&amp;time=3D%t&amp;timemillis=3D%T&amp;idmessage=3D=
%F</a><br class=3D""><br class=3D"">group =3D modems<br =
class=3D"">init-string =3D =
"AT+CSMS=3D1;AT+CNMI=3D2,0,0,2,1;AT+CSMP=3D49,167,0,0;+CMEE=3D1"<br =
class=3D"">message-storage =3D SM<br class=3D"">speed =3D 9600<br =
class=3D"">id =3D falcom</div><div class=3D""><br class=3D""></div><div =
class=3D"">###############################################################=
##<br class=3D""></div><div class=3D""><br class=3D""></div><div =
class=3D"">Even I configure my modem to store the delivery report on the =
SM storage whith
AT+CNMI=3D2,0,0,2,1&nbsp;

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=C2=B4ve =
keep researching into modem gsm kannel logs and never receive the =
delivery report.</div><div class=3D""><br class=3D""></div><div =
class=3D"">Thanks in advantage<br class=3D""></div></div>
</div></blockquote></div><br class=3D""></div></body></html>=

--Apple-Mail=_1F3ED8D5-8FD3-4B55-A0FA-ECFABC2F38D7--