Hello Jonathan,

do you solve your issue ? if yes, how did you do it ?

thanks in advance for your answer

-----Message d'origine-----
De : users-boun...@kannel.org [mailto:users-boun...@kannel.org] De la part de 
Jonathan GILLES
Envoyé : lundi 13 décembre 2010 23:10
À : users@kannel.org
Objet : Problem receiving DLR with modem. Error : got +CMT but pdu_extract 
failed

Hi all,

This is my first mail to the mailling list, hope you will understand my  poor 
english !

I've just setup a new kannel install (1.4.3) with a sony ericsson k750i  gsm 
phone as Modem.
Everything is working fine (I can send sms and received MO) but I don't  have 
the DLR for sms I sent.
As I can see kannel is receiving the DLR but can't decode the PDU.
Does anyone already face this kind of problem ?

Here is bearbox log :

2010-12-14 06:25:29 [26679] [6] INFO: AT2[sonyk750]: opening device
2010-12-14 06:25:29 [26679] [6] DEBUG: AT2[sonyk750]: device opened.  Telnet 
mode = 0
2010-12-14 06:25:29 [26679] [6] DEBUG: AT2[sonyk750]: device opened
2010-12-14 06:25:29 [26679] [6] INFO: AT2[sonyk750]: Logging in
2010-12-14 06:25:29 [26679] [6] INFO: AT2[sonyk750]: init device
2010-12-14 06:25:29 [26679] [6] INFO: AT2[sonyk750]: speed set to 9600
2010-12-14 06:25:29 [26679] [6] DEBUG: AT2[sonyk750]: --> ATZ^M
2010-12-14 06:25:29 [26679] [6] DEBUG: AT2[sonyk750]: <-- OK
2010-12-14 06:25:29 [26679] [6] DEBUG: AT2[sonyk750]: --> AT^M
2010-12-14 06:25:29 [26679] [6] DEBUG: AT2[sonyk750]: <-- AT
2010-12-14 06:25:29 [26679] [6] DEBUG: AT2[sonyk750]: <-- OK
2010-12-14 06:25:29 [26679] [6] DEBUG: AT2[sonyk750]: --> AT&F^M
2010-12-14 06:25:29 [26679] [6] DEBUG: AT2[sonyk750]: <-- AT&F
2010-12-14 06:25:29 [26679] [6] DEBUG: AT2[sonyk750]: <-- OK
2010-12-14 06:25:29 [26679] [6] DEBUG: AT2[sonyk750]: --> ATE0^M
2010-12-14 06:25:29 [26679] [6] DEBUG: AT2[sonyk750]: <-- ATE0
2010-12-14 06:25:29 [26679] [6] DEBUG: AT2[sonyk750]: <-- OK
2010-12-14 06:25:29 [26679] [6] DEBUG: AT2[sonyk750]: -->  AT+IFC=2,2^M
2010-12-14 06:25:29 [26679] [6] DEBUG: AT2[sonyk750]: <-- OK
2010-12-14 06:25:29 [26679] [6] DEBUG: AT2[sonyk750]: -->  
AT+CSCA="+33660003000"^M
2010-12-14 06:25:29 [26679] [6] DEBUG: AT2[sonyk750]: <-- OK
2010-12-14 06:25:29 [26679] [6] DEBUG: AT2[sonyk750]: --> AT+CMGF=0^M
2010-12-14 06:25:29 [26679] [6] DEBUG: AT2[sonyk750]: <-- OK
2010-12-14 06:25:29 [26679] [6] DEBUG: AT2[sonyk750]: --> AT+CSMS=?^M
2010-12-14 06:25:30 [26679] [6] DEBUG: AT2[sonyk750]: <-- +CSMS: (0)
2010-12-14 06:25:30 [26679] [6] DEBUG: AT2[sonyk750]: <-- OK
2010-12-14 06:25:30 [26679] [6] DEBUG: AT2[sonyk750]: -->  AT+CNMI=2,3,0,1,0;^M
2010-12-14 06:25:30 [26679] [6] DEBUG: AT2[sonyk750]: <-- OK
2010-12-14 06:25:30 [26679] [6] DEBUG: AT2[sonyk750]: -->  AT+CPMS="ME"^M
2010-12-14 06:25:30 [26679] [6] DEBUG: AT2[sonyk750]: <-- +CPMS:  
0,198,0,40,0,198
2010-12-14 06:25:30 [26679] [6] DEBUG: AT2[sonyk750]: <-- OK
2010-12-14 06:25:30 [26679] [6] INFO: AT2[sonyk750]: AT SMSC  successfully 
opened.
2010-12-14 06:25:32 [26679] [6] DEBUG: AT2[sonyk750]: --> AT^M
2010-12-14 06:25:32 [26679] [6] DEBUG: AT2[sonyk750]: <-- OK
2010-12-14 06:25:32 [26679] [6] DEBUG: AT2[sonyk750]: --> AT+CPMS?^M
2010-12-14 06:25:32 [26679] [6] DEBUG: AT2[sonyk750]: <-- +CPMS:  
"ME",0,198,"SM",0,40,"ME",0,198
2010-12-14 06:25:32 [26679] [6] DEBUG: AT2[sonyk750]: <-- OK
2010-12-14 06:25:56 [26679] [6] DEBUG: AT2[sonyk750]:  TP-Validity-Period: 24.0 
hours
2010-12-14 06:25:56 [26679] [6] DEBUG: AT2[sonyk750]: -->  AT+CMGS=20^M
2010-12-14 06:25:56 [26679] [6] DEBUG: AT2[sonyk750]: <-- >
2010-12-14 06:25:56 [26679] [6] DEBUG: AT2[sonyk750]: send command  status: 1
2010-12-14 06:25:56 [26679] [6] DEBUG: AT2[sonyk750]: -->  
0031000A8160898400530000A708F4F29C0E9A36A7
2010-12-14 06:25:56 [26679] [6] DEBUG: AT2[sonyk750]: --> ^Z
2010-12-14 06:26:00 [26679] [6] DEBUG: AT2[sonyk750]: <-- >
2010-12-14 06:26:00 [26679] [6] DEBUG: AT2[sonyk750]: <-- +CMGS: 0
2010-12-14 06:26:00 [26679] [6] DEBUG: AT2[sonyk750]: <-- OK
2010-12-14 06:26:00 [26679] [6] DEBUG: AT2[sonyk750]: send command  status: 0
2010-12-14 06:26:00 [26679] [6] DEBUG: DLR[mysql]: Adding DLR  smsc=sonyk750, 
ts=0, src=13013, dst=0698480035, mask=31, boxc=
2010-12-14 06:26:00 [26679] [6] DEBUG: sql: INSERT INTO dlr (smsc, ts,  source, 
destination, service, url, mask, boxc, status) VALUES  ('sonyk750', '0', 
'13013', '0698480035', 'k750i',  
'http://localhost/connecteur/receiveDLR.php?dlr-status=%d&timesent=%t&smscid=%F&smsid=apitest_29403c71b8e83fed5f882a1b51c8b020',
  '31', '', '0');
2010-12-14 06:26:00 [26679] [6] DEBUG: SMSC[sonyk750]: creating DLR  message
2010-12-14 06:26:00 [26679] [6] DEBUG: SMSC[sonyk750]: DLR =  
http://localhost/connecteur/receiveDLR.php?dlr-status=%d&timesent=%t&smscid=%F&smsid=apitest_29403c71b8e83fed5f882a1b51c8b020

2010-12-14 06:26:08 [26679] [6] DEBUG: AT2[sonyk750]: <-- +CDS: 29
2010-12-14 06:26:08 [26679] [6] DEBUG: AT2[sonyk750]: <--  
06810A81608984005301214160030040012141600340400040CF5F0012
2010-12-14 06:26:08 [26679] [6] DEBUG: AT2[sonyk750]: received message  from 
SMSC: A018069848
2010-12-14 06:26:08 [26679] [6] ERROR: AT2[sonyk750]: got +CMT but  pdu_extract 
failed

Regards,
Jonathan



      



Reply via email to