Alvaro, you are right.
Even though it should be possible to stop scanning messages as soon as the total number of messages have been read successfully. Or do I see things wrong? == Rene From: [email protected] [mailto:[email protected]] On Behalf Of Alvaro Cornejo Sent: Monday, 17 January, 2011 14:54 To: Helen Sang Cc: [email protected] Subject: Re: Sim-buffering question That is the way it works. It can only know how many messages are stored in the phone/sim, but there is no way for kannel to know in wich memory location a message is stored so it must read all locations in each loop, not only on startup. Regards Alvaro |--------------------------------------------------------------------------- --------------------------------------| Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier celular y Nextel en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via SMS y GPRS online Visitenos en www.perusms.NET www.smsglobal.com.mx y www.pravcom.com On Mon, Jan 17, 2011 at 1:46 AM, Helen Sang <[email protected]> wrote: Dear Kannel User, I am using a motorola phone as SMSC. The phone does not acknowledge new messages arrival, so I enable sim-buffering function. In modems.conf file, if I set message-storage to "SM", the phone works fine. But my SIM card store only 30 messages. I wish to use the phone memory, which can store up to 4096 messages. This gives me a larger buffer if connection is disrupted. However, if I set message-storage to "ME", kannel will try to read out 4096 messages when it wakes up every time. This takes a long time. It seems that kannel is not aware how many message is stored in memory, it start from head to tail everytime. Does anyone run into this problem before? Is there a way to control this behavior? thank you. Helen
