Re: GSM Modem "freezes"

"Alvaro Cornejo" <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
Have you checked if there are messages locked on modem??

try AT+CMGL and or AT+CMGR=x where x is the sms memory location on the
modem.

I have a similar problem because of messages locked on modem. What I do is
to stop kannel, retrieve all messages on memories and deleted from modem.
Then restart.

I´m not good on C so I don´t know how to patch kannel in order to retry to
retrieve messages once the message memory index it receives from an
incomming message is above half the max modem memory location.

Hope helps

On 2/20/08, Hillel <[email protected]> wrote:
>
>  Hi,
>
>
>
> We are using the latest Kannel CVS with a Wavecom WMOD2, dual band to
> receive SMSs for a client.
>
>
>
> After a few days the GSM modem seems to always "freeze" and does not
> receive any more SMSs until we manually restart Kannel.
>
> This means we can't provide a reliable service to our client that requires
> SMSs to be received by a GSM Modem.
>
> What is interesting is even when the modem does not accept any more SMSs,
> we still see in the bearerbox.log
>
>
>
> 2008-02-19 04:13:06 [12603] [15] DEBUG: AT2[gsmmodem1]: <--
> AT+CNMI=1,2,0,1,1
>
> 2008-02-19 04:13:06 [12603] [15] DEBUG: AT2[gsmmodem1]: <-- OK
>
>
>
> Is this a bug in the Kannel AT code?
>
> Any suggestions to prevent this happening and to improve our configuration
> below are most appreciated.
>
>
>
> The following is the configuration used:
>
>
>
> gsmmodem1.conf:
>
> group = smsc
>
> smsc-id = gsmmodem
>
> allowed-smsc-id = gsmmodem
>
> smsc = at
>
> modemtype = wavecom
>
> validityperiod = 167
>
> my-number= +27xxxxxxxxx
>
> sms-center = +27831000113
>
> #sim-buffering = true
>
> keepalive= 120
>
> device = /dev/ttyS0
>
> speed = 9600
>
>
>
> modems.conf:
>
> group = modems
>
> id = wavecom
>
> name = "wavecom"
>
> detect-string = "WAVECOM"
>
> init-string = "AT+CNMI=1,2,0,1,1"
>
> reset-string = "AT+CNMI=1,2,0,1,1"
>
> speed = 9600
>
> need-sleep = true
>
> message-storage = "SM"
>
> sendline-sleep = 150
>
> keepalive-cmd = "AT+CNMI=1,2,0,1,1"
>
>
>
> group = sms-service
>
> accepted-smsc=gsmmodem
>
> keyword = default
>
> get-url = "http:// xxx:xxx@localhost
> /gsmmodem?from=%p&to=%P&message=%a&timesent=%t&smsc=%i"
>
> omit-empty= true
>
> max-messages = 0
>



-- 
|-----------------------------------------------------------------------------------------------------------------|
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.