Hi list.

Sorry to raise an old issue again, but I think I have some new
information which may (or may not) be interesting about Mathew Flex's
patch for buffering through SIM memory. 

I have ported Mathew Flex's patch to the AT2 module, but also changed
the way that buffering happens - in my current implementation, the TA
isn't set to store messages in SIM memory, but instead setup everything
normally, and just polls the SIM memory once in a while to see if any
messages have landed there (and then harvest them).  the benefits of not
abusing SIM memory are obvious (I hope) and also very little of the
"normal" functionality is overridden.
I've tested this for the last month, and it seems to be working great on
our wavecom modems. the reason I refrained from submitting a patch to
the list is that some modems (namely the Siemens M20) don't really like
what I'm doing - i.e., after the first call to check on memory status,
the behavior of the modem automatically changes to store any incoming
message in the SIM memory. I've tried what ever I can do to fix or
circumvent this problem (for example, by re-setting CNMI after each
memory check), but to no avail.

So why am I posting this to the list ? since I gave up on getting broken
modems to work, I still think that this patch may interest Kannel
developers because 
a) its enabled by a compile time define - a simple switch to the
configure script can enable or disable this behavior, so people who
don't want that can simply not set the compile option.
b) even with the polling behavior enabled, and with a broken modem, no
messages will be lost - SMs will simply be stored in the SIM memory
until pulled out by Kannel. it will be slower though (unless you want to
poll faster, which I tried to avoid, but can be set by a compile time
option too, if you like.
c) it does do wonders to the reliability of the at2 module.

But, before submitting the changes, I would like to know how the people
of the list view this issue. do you think it's worth the effort or the
approach all wrong, or what ?

Cheers

Oded Arbel
m-Wise Inc.
[EMAIL PROTECTED]

--
Politicians should read science fiction, not westerns and detective
stories.
        -- Arthur C Clarke


Reply via email to