Hi I think I foud the proble. I changed the CNMI command to 2,1,2,0,0
and kannel start deleting messages. Why is that? CNMI command
reference is not clear about that. Why does kannel delete messages in
one case and not the other?

Regards

Alvaro



2007-11-30 10:06:59 [14227] [6] DEBUG: AT2[telcel1]: <-- +CMTI: "SM",7
2007-11-30 10:06:59 [14227] [6] DEBUG: AT2[telcel1]: +CMTI incoming
SMS indication: +CMTI: "SM",7
2007-11-30 10:07:01 [14227] [6] DEBUG: AT2[telcel1]: --> AT+CMGR=7^M
2007-11-30 10:07:01 [14227] [6] DEBUG: AT2[telcel1]: <-- +CMGR: 0,,63
2007-11-30 10:07:01 [14227] [6] DEBUG: AT2[telcel1]: <--
0891254901001014F0200A81554137819300127011030120244A33E3705B9C3E9541ED37B9DC06E541F2F2BC4C07ADC36E77990D7281E06179795C06BDD7A01728387ECBDD65F51B
2007-11-30 10:07:01 [14227] [6] DEBUG: AT2[telcel1]: received message
from SMSC: +5294100001410
2007-11-30 10:07:01 [14227] [6] DEBUG: AT2[telcel1]: Numeric sender
<5514731839>
2007-11-30 10:07:01 [14227] [6] DEBUG: AT2[telcel1]: User data length
read as (51)
2007-11-30 10:07:01 [14227] [6] DEBUG: AT2[telcel1]: Udh decoding done
len=51 udhi=0 udhlen=0 udh=''
2007-11-30 10:07:01 [14227] [6] DEBUG: AT2[telcel1]: <-- OK
2007-11-30 10:07:01 [14227] [6] DEBUG: AT2[telcel1]: --> AT+CMGD=7^M
2007-11-30 10:07:02 [14227] [6] DEBUG: AT2[telcel1]: <-- +CMTI: "SM",8
2007-11-30 10:07:02 [14227] [6] DEBUG: AT2[telcel1]: +CMTI incoming
SMS indication: +CMTI: "SM",8
2007-11-30 10:07:02 [14227] [6] DEBUG: AT2[telcel1]: <-- OK
2007-11-30 10:07:02 [14227] [6] DEBUG: AT2[telcel1]: --> AT+CMGR=8^M
2007-11-30 10:07:02 [14227] [6] DEBUG: AT2[telcel1]: <-- +CMGR: 0,,42
2007-11-30 10:07:02 [14227] [6] DEBUG: AT2[telcel1]: <--
0891254901001014F0000A81563939052800007011030120344A1BC37AD84D7E83E82010B93C7F8FEBF0F21C040A8BD9E17619
2007-11-30 10:07:02 [14227] [6] DEBUG: AT2[telcel1]: received message
from SMSC: +5294100001410
2007-11-30 10:07:02 [14227] [6] DEBUG: AT2[telcel1]: Numeric sender
<6593935082>
2007-11-30 10:07:02 [14227] [6] DEBUG: AT2[telcel1]: User data length
read as (27)
2007-11-30 10:07:02 [14227] [6] DEBUG: AT2[telcel1]: Udh decoding done
len=27 udhi=0 udhlen=0 udh=''
2007-11-30 10:07:02 [14227] [6] DEBUG: AT2[telcel1]: <-- OK
2007-11-30 10:07:02 [14227] [6] DEBUG: AT2[telcel1]: --> AT+CMGD=8^M
2007-11-30 10:07:03 [14227] [6] DEBUG: AT2[telcel1]: <-- OK



On Nov 29, 2007 7:31 PM, Alvaro Cornejo <[EMAIL PROTECTED]> wrote:
> Hi
>
> I'm using latest cvs and have kannel not deleting MO messages after
> receiving them. As far as I know, it should issue AT+CNGD=[message
> index] after procesing the message; however it is isuing an AT+CNMA
> command.
>
> Any ideas why is this happening?
>
> this is my modem config:
>
> group = modems
> id = Enfora1218
> name = Enfora1218
> detect-string = "Enfora"
> #init-string = AT+CNMI=2,1,2,0,0
> message-storage = SM
> keepalive-cmd = AT+CSQ
> reset-string = AT$RESET
>
>
> # SMSC ENFORA 1218 I (SERIAL 1)
> group = smsc
> smsc = at
> smsc-id = tel1
> log-level = 0
> log-file = "/var/log/kannel/enfora1.log"
> modemtype = auto
> device = /dev/ttyS0
> speed = 115200
> allowed-smsc-id = tel
> sim-buffering = false
> keepalive = 60
> max-error-count = 20
>
>
> 2007-11-29 19:04:30 [22376] [6] DEBUG: AT2[telcel1]: <-- OK
> 2007-11-29 19:05:16 [22376] [6] DEBUG: AT2[telcel1]: <-- +CMT: ,74
> 2007-11-29 19:05:16 [22376] [6] DEBUG: AT2[telcel1]: <--
> 0891254901001014F0000A81131461125700007011925124714A40C432285E2F83D069F89B5E1E87E5E937280F229741F17A19D42EBBE7F5303B4D0E9341ED32081D16B3C3A078BD0CCABF41EE37885CB6BF41
> 2007-11-29 19:05:16 [22376] [6] DEBUG: AT2[telcel1]: received message
> from SMSC: +5294100001410
> 2007-11-29 19:05:16 [22376] [6] DEBUG: AT2[telcel1]: Numeric sender
> <3141162175>
> 2007-11-29 19:05:16 [22376] [6] DEBUG: AT2[telcel1]: User data length
> read as (64)
> 2007-11-29 19:05:16 [22376] [6] DEBUG: AT2[telcel1]: Udh decoding done
> len=64 udhi=0 udhlen=0 udh=''
> 2007-11-29 19:05:16 [22376] [6] DEBUG: AT2[telcel1]: --> AT+CNMA^M
> 2007-11-29 19:05:16 [22376] [6] DEBUG: AT2[telcel1]: <-- OK
> 2007-11-29 19:05:18 [22376] [6] DEBUG: AT2[telcel1]: <-- +CMT: ,46
> 2007-11-29 19:05:18 [22376] [6] DEBUG: AT2[telcel1]: <--
> 0891254901001014F0800A81998854424900007011926160104A20CC37085E2F93CB6E10B93C1FBFDDF4B01C442E83DA69D0B85E76D3C3
> 2007-11-29 19:05:18 [22376] [6] DEBUG: AT2[telcel1]: received message
> from SMSC: +5294100001410
> 2007-11-29 19:05:18 [22376] [6] DEBUG: AT2[telcel1]: Numeric sender
> <9988452494>
> 2007-11-29 19:05:18 [22376] [6] DEBUG: AT2[telcel1]: User data length
> read as (32)
> 2007-11-29 19:05:18 [22376] [6] DEBUG: AT2[telcel1]: Udh decoding done
> len=32 udhi=0 udhlen=0 udh=''
> 2007-11-29 19:05:18 [22376] [6] DEBUG: AT2[telcel1]: --> AT+CNMA^M
> 2007-11-29 19:05:18 [22376] [6] DEBUG: AT2[telcel1]: <-- OK
>
>
> --
> |-----------------------------------------------------------------------------------------------------------------|
> Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier 
> celular y
> Nextel en México y en mas de 180 paises. Use aplicaciones 2 vias via
> SMS y GPRS online
>               Visitenos en www.smsglobal.com.mx y www.pravcom.com
>



-- 
|-----------------------------------------------------------------------------------------------------------------|
Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier celular y
Nextel en México y en mas de 180 paises. Use aplicaciones 2 vias via
SMS y GPRS online
              Visitenos en www.smsglobal.com.mx y www.pravcom.com

Reply via email to