Could easily be a bug in the Wavecom modem if it doesnt report anymore new messages.

On 20.02.2008, at 23:32, Hillel 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:[EMAIL PROTECTED]/gsmmodem?from=%p&to=%P&message= %a&timesent=%t&smsc=%i"
omit-empty= true
max-messages = 0

Reply via email to