Hi Ian

Yes and No.

Kannel deletes the messages after it is able to read the incomming message;
however as in this cases, it receives an error regarding "no" message found,
kannel think there are no messages thus does not delete anything, thus those
messages stay in sim

Regards

-----Mensaje original-----
De: Iain Dooley [mailto:[EMAIL PROTECTED] 
Enviado el: Viernes, 04 de Enero de 2008 21:03
Para: Alvaro Cornejo
CC: users@kannel.org
Asunto: clearing sim messages (was Re: error encoding pdu)


Hi Alvaro,

> Regarding the +CMTI error, I do receive them when the incomming 
> message get corrupted somehow -donĀ“t know the reason yet- but it seems 
> to be related to another error I get from my modem: SIM BUSY. The 
> effect of this is that after all modem memories locations get full, 
> the modem stop receiving messages.
>
> The workarround I use is to stop kannel, read all modem memory 
> locations (AT+CMGL) then delete memories (AT+CMGD=x, Where x is the 
> memory location to be deleted. Varies according to the modem), then 
> start kannel. After that I do manually insert the messages to my 
> system in order to process the received message.

hmm in the past i never had to worry about the sim memory because i kannel 
seemed to just delete messages as soon as it read them. is that not the 
case?

> You might also want to add AT+CMEE=x into modem init string to enable 
> modem error verbose to help debugging.

okay i'll try this as well.

cheers

iain


Reply via email to