Hi,

I go through the at driver. It seems that whenever bb reads a message, it deletes it afterwards in:

at2_read_delete_message()

through  at2_read_sms_memory(). This is the expected behaviour.

If it fails to delete SMS after reading it through at2_read_delete_message, it will print an error.

Please post relevant detailed bb logs of the behaviour you describe.

BR,
Nikos
----- Original Message ----- From: Alvaro Cornejo
To: Rene Kluwen
Cc: Helen Sang ; [email protected]
Sent: Monday, January 17, 2011 5:05 PM
Subject: Re: Sim-buffering question


Hi Rene

It can be a possibility but that will need a patch to the at_driver.

In the other hand, how long will it take to kannel query the 4096 memory locations and read/delete the message from it? kannel will spend all the time searching for MO... leaving no time for MT...

I think that unless Helen is specting to have an important volume of MO, he will have better results working with the SIM storage than ME storage. He might need to adjust the seak interval tough.

However the best bet will be to use another phone that will support CNMI command.

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 9:09 AM, Rene Kluwen <[email protected]> wrote:

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

Reply via email to