I am using a Siemens TC35 modem in a configuration where I send and receive 
SMSs (ultimately to a web server). When I start Kannel it works fine, but I 
find that when I try to use it at a later time the sends fail.  Then I 
restart it and it works fine.

From access.log

2003-08-23 14:38:51 Receive SMS [SMSC:siemens modem] [SVC:] [ACT:] 
[from:+353879697076] [to:1234] [flags:0:1:0:0:0] [msg:3:Yes] [udh:0:] 
2003-08-23 14:38:59 Sent SMS [SMSC:siemens modem] [SVC:default service] 
[ACT:] [from:00353877443615] [to:+353879697076] [flags:0:1:0:0:0] 
[msg:126:....!] [udh:0:]                                                               
                                                                 
2003-08-24 19:23:23 FAILED Send SMS [SMSC:siemens modem] [SVC:test] [ACT:] 
[from:00353877443615] [to:353857173522] [flags:0:1:0:0:0] [msg:159:....] 
[udh:0:]                                                                               
                  
2003-08-24 19:23:41 FAILED Send SMS [SMSC:siemens modem] [SVC:test] [ACT:] 
[from:00353877443615] [to:353861701008] [flags:0:1:0:0:0] [msg:156:....


From bearerbox.log

2003-08-23 14:38:59 [5] DEBUG: AT2[siemens modem]: <-- OK
2003-08-23 14:38:59 [5] DEBUG: AT2[siemens modem]: send command status: 0
2003-08-24 19:23:04 [12] DEBUG: boxc_receiver: sms received
2003-08-24 19:23:05 [5] DEBUG: AT2[siemens modem]: TP-Validity-Period: 24.0 
hours
2003-08-24 19:23:05 [5] DEBUG: AT2[siemens modem]: --> AT+CMGS=154^M
2003-08-24 19:23:05 [5] DEBUG: AT2[siemens modem]: write failed with errno 5
2003-08-24 19:23:05 [12] DEBUG: boxc_receiver: sms received

[ errno 5 is an I/O error ]

I am running linux (an old redhat 6.2) and there are no errors on the console.

I am running kannel version 1.2.1

My Modem configuration is...

group = modems
id = siemens-tc35
name = "Siemens TC35"
detect-string = "SIEMENS"
detect-string2 = "TC35"
init-string = "AT+CNMI=1,2,0,1,1"
speed = 19200
enable-hwhs = "AT\\Q3"
need-sleep = true

Has anyone experienced this sort of problem?
Is there a solution. Do I just reboot kannel every 4 hours, or is there a keep 
alive flag?
Any help, advice or sympathy would be appreciated.

Kevin Gill
MovieExtras.ie Support





Reply via email to