Kannel Delivery Report Does not work modem GSM

Sergio Toro Escofet <[email protected]> Tue, 26 Jun 2018 20:59:34 +0200
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <CA+YwvXWb4u7FdX8cLKGGxU4o8_5rDWzQZVnneUaE--0gy+yRbw@mail.gmail.com>
--000000000000f2c082056f9019da
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

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 fig=
ure
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
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 =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.
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


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"

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
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 rec=
eive
the delivery report.

Thanks in advantage

--000000000000f2c082056f9019da
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Hi!!!, I=C2=B4ve read a lot of post about kannel deli=
very report where does not work, I read the official documentation more tha=
n 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><br></div><div>I know that m=
y 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=C2=
=A0 receive status report successfully. <br></div><div><br></div><div>My Ka=
nnel configuration is:</div><div>##########################################=
#################<br></div><div>#<br><br># HTTP administration is disabled =
by default. Make sure you set the<br># password if you enable it.<br><br>gr=
oup =3D core<br>admin-port =3D 13000<br>admin-password =3D bar<br>admin-all=
ow-ip =3D &quot;*.*.*.*&quot;<br>dlr-storage =3D internal<br>sms-resend-ret=
ry =3D 10<br>log-file =3D &quot;/var/log/kannel/bearerbox.log&quot;<br>smsb=
ox-port =3D 13001<br>box-allow-ip =3D &quot;*.*.*.*&quot;<br><br><br>group =
=3D smsbox<br>bearerbox-host =3D 192.168.15.130<br>sendsms-port =3D 13013<b=
r>sendsms-chars =3D &quot;0123456789 +-&quot;<br>log-file =3D &quot;/var/lo=
g/kannel/smsbox.log&quot;<br>log-level =3D 0<br>reply-couldnotfetch =3D &qu=
ot;Your message could not be processed at this time.=C2=A0 Please try again=
 later. (err=3Dcouldnotfetch)&quot;<br>reply-requestfailed =3D &quot;Your m=
essage could not be processed at this time.=C2=A0 Please try again later. (=
err=3Drequestfailed)&quot;<br>reply-couldnotrepresent =3D &quot;Your messag=
e could not be processed at this time.=C2=A0 Please try again later. (err=
=3Dcouldnotrepresent)&quot;<br>http-request-retry =3D 3<br>http-queue-delay=
 =3D 10<br><br><br>group =3D smsc<br>smsc =3D at<br>modemtype =3D falcom<br=
>smsc-id=3Dmodemgsm<br>my-number =3D &quot;5358466786&quot;<br>sim-bufferin=
g =3D true<br>device =3D=C2=A0 /dev/ttyACM0<br>keepalive =3D 60<br>speed =
=3D 9600<br>pin =3D 1415<br>alt-charset =3D &quot;UTF-8&quot;<br>log-file =
=3D &quot;/var/log/kannel/smsmodem.log&quot;<br><br>group =3D sendsms-user<=
br>username =3D sergio<br>password =3D sergio<br>user-allow-ip =3D &quot;*.=
*.*.*&quot;<br><br>group =3D sms-service<br>keyword =3D ping-kannel<br>text=
 =3D &quot;Kannel is online and responding to messages.&quot;<br><br>group =
=3D sms-service<br>keyword =3D default<br>accepted-smsc =3D modemgsm<br>ass=
ume-plain-text =3D true<br>concatenation =3D true<br>max-messages =3D 0<br>=
dlr-mask =3D 31<br>get-url =3D <a href=3D"http://192.168.15.1:44/get-sms/?i=
d=3D%p&amp;text=3D%a&amp;charset=3D%C&amp;coding=3D%c&amp;time=3D%t&amp;tim=
emillis=3D%T">http://192.168.15.1:44/get-sms/?id=3D%p&amp;text=3D%a&amp;cha=
rset=3D%C&amp;coding=3D%c&amp;time=3D%t&amp;timemillis=3D%T</a><br>dlr-url =
=3D <a href=3D"http://192.168.15.1:44/get-dlr/?id=3D%p&amp;text=3D%a&amp;ch=
arset=3D%C&amp;coding=3D%c&amp;time=3D%t&amp;timemillis=3D%T&amp;idmessage=
=3D%F">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</a>=
<br><br>group =3D modems<br>init-string =3D &quot;AT+CSMS=3D1;AT+CNMI=3D2,0=
,0,2,1;AT+CSMP=3D49,167,0,0;+CMEE=3D1&quot;<br>message-storage =3D SM<br>sp=
eed =3D 9600<br>id =3D falcom</div><div><br></div><div>####################=
#############################################<br></div><div><br></div><div>=
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 work, never receive the delivery =
report and never store in the sim, i know it because I=C2=B4ve keep researc=
hing into modem gsm kannel logs and never receive the delivery report.</div=
><div><br></div><div>Thanks in advantage<br></div></div>

--000000000000f2c082056f9019da--