Hi everybody out there,

I've been trying to configure a system to send SMS using Kannel with a
Wavecom GSM modem. I used the basic configuration which comes with the
package and I could get the system up and running. I cound send SMS messages
to my cell phone successfully. However, the system did not work well if I
left it running overnight. If I reset the system, everything went back to
normal. I enabled debug logging but could not find a cause for the issue.
I'm totally new to Kannel so I actually don't know which parts of the logs I
should post here. Below are the logs when the SMS could be sent successfully
and the other logs when it failed:

2010-04-15 17:29:14 [30152] [7] DEBUG: clear_old_concat_parts called
2010-04-15 18:00:01 [30152] [13] DEBUG: boxc_receiver: sms received
2010-04-15 18:00:01 [30152] [13] DEBUG: send_msg: sending msg to box:
<127.0.0.1>
2010-04-15 18:00:03 [30152] [6] DEBUG: AT2[/dev/ttyS0]: TP-Validity-Period:
24.0 hours
2010-04-15 18:00:03 [30152] [6] DEBUG: AT2[/dev/ttyS0]: --> AT+CMGS=19^M
2010-04-15 18:00:03 [30152] [6] DEBUG: AT2[/dev/ttyS0]: <-- >
2010-04-15 18:00:03 [30152] [6] DEBUG: AT2[/dev/ttyS0]: send command status:
1
2010-04-15 18:00:03 [30152] [6] DEBUG: AT2[/dev/ttyS0]: -->
0011000A8190800299270000A70661F1985C3603
2010-04-15 18:00:03 [30152] [6] DEBUG: AT2[/dev/ttyS0]: --> ^Z
2010-04-15 18:00:05 [30152] [6] DEBUG: AT2[/dev/ttyS0]: <-- >
2010-04-15 18:00:05 [30152] [6] DEBUG: AT2[/dev/ttyS0]: <-- +CMGS: 63
2010-04-15 18:00:05 [30152] [6] DEBUG: AT2[/dev/ttyS0]: <-- OK
2010-04-15 18:00:05 [30152] [6] DEBUG: AT2[/dev/ttyS0]: send command status:
0
2010-04-15 18:29:12 [30152] [7] DEBUG: clear_old_concat_parts called
...
2010-04-16 11:28:51 [30152] [7] DEBUG: clear_old_concat_parts called
2010-04-16 12:28:50 [30152] [7] DEBUG: clear_old_concat_parts called
2010-04-16 13:28:48 [30152] [7] DEBUG: clear_old_concat_parts called
2010-04-16 14:28:47 [30152] [7] DEBUG: clear_old_concat_parts called
2010-04-16 14:35:46 [30152] [13] DEBUG: boxc_receiver: sms received
2010-04-16 14:35:46 [30152] [13] DEBUG: send_msg: sending msg to box:
<127.0.0.1>
2010-04-16 14:35:47 [30152] [6] DEBUG: AT2[/dev/ttyS0]: TP-Validity-Period:
24.0 hours
2010-04-16 14:35:47 [30152] [6] DEBUG: AT2[/dev/ttyS0]: --> AT+CMGS=19^M
2010-04-16 14:35:47 [30152] [6] DEBUG: AT2[/dev/ttyS0]: <-- AT+CMGS=19>
2010-04-16 14:35:47 [30152] [6] DEBUG: AT2[/dev/ttyS0]: send command status:
1
2010-04-16 14:35:47 [30152] [6] DEBUG: AT2[/dev/ttyS0]: -->
0011000A8190800299270000A70661F1985C3603
2010-04-16 14:35:47 [30152] [6] DEBUG: AT2[/dev/ttyS0]: --> ^Z
2010-04-16 14:35:47 [30152] [6] DEBUG: AT2[/dev/ttyS0]: <-- >
2010-04-16 14:35:47 [30152] [6] DEBUG: AT2[/dev/ttyS0]: <-- ERROR
2010-04-16 14:35:47 [30152] [6] ERROR: AT2[/dev/ttyS0]: Generic error: ERROR
2010-04-16 14:35:47 [30152] [6] DEBUG: AT2[/dev/ttyS0]: send command status:
-1
2010-04-16 14:35:47 [30152] [7] DEBUG: sms_router: handling message
(0x9e1b250 vs 0x9e1b250)
2010-04-16 14:35:47 [30152] [7] DEBUG: re-queing SMS not-yet-to-be resent
2010-04-16 14:35:47 [30152] [7] DEBUG: sms_router: handling message
(0x9e1b250 vs 0x9e1b250)
2010-04-16 14:35:47 [30152] [7] DEBUG: re-queing SMS not-yet-to-be resent
2010-04-16 14:35:47 [30152] [7] DEBUG: sms_router: time to sleep 30.00 secs.
2010-04-16 14:35:47 [30152] [7] DEBUG: sms_router: gwlist_len = 1
2010-04-16 14:35:47 [30152] [7] DEBUG: sms_router: handling message
(0x9e1b250 vs 0x9e1b250)
2010-04-16 14:35:47 [30152] [7] DEBUG: re-queing SMS not-yet-to-be resent
2010-04-16 14:35:47 [30152] [7] DEBUG: sms_router: handling message
(0x9e1b250 vs 0x9e1b250)
2010-04-16 14:35:47 [30152] [7] DEBUG: re-queing SMS not-yet-to-be resent
2010-04-16 14:35:47 [30152] [7] DEBUG: sms_router: time to sleep 30.00 secs.
2010-04-16 14:36:17 [30152] [7] DEBUG: sms_router: gwlist_len = 1
2010-04-16 14:36:17 [30152] [7] DEBUG: sms_router: handling message
(0x9e1b250 vs 0x9e1b250)
2010-04-16 14:36:17 [30152] [7] DEBUG: re-queing SMS not-yet-to-be resent
2010-04-16 14:36:17 [30152] [7] DEBUG: sms_router: handling message
(0x9e1b250 vs 0x9e1b250)
2010-04-16 14:36:17 [30152] [7] DEBUG: re-queing SMS not-yet-to-be resent
2010-04-16 14:36:17 [30152] [7] DEBUG: sms_router: time to sleep 30.00 secs.
2010-04-16 14:36:47 [30152] [7] DEBUG: sms_router: gwlist_len = 1
2010-04-16 14:36:47 [30152] [7] DEBUG: sms_router: handling message
(0x9e1b250 vs 0x9e1b250)
2010-04-16 14:36:47 [30152] [7] DEBUG: Message routed successfully.
2010-04-16 14:36:49 [30152] [6] DEBUG: AT2[/dev/ttyS0]: TP-Validity-Period:
24.0 hours
2010-04-16 14:36:49 [30152] [6] DEBUG: AT2[/dev/ttyS0]: --> AT+CMGS=19^M
2010-04-16 14:36:49 [30152] [6] DEBUG: AT2[/dev/ttyS0]: <--
0011000A8190800299270000A70661F1985C3603 AT+CMGS=19>
2010-04-16 14:36:49 [30152] [6] DEBUG: AT2[/dev/ttyS0]: send command status:
1
2010-04-16 14:36:49 [30152] [6] DEBUG: AT2[/dev/ttyS0]: -->
0011000A8190800299270000A70661F1985C3603
2010-04-16 14:36:49 [30152] [6] DEBUG: AT2[/dev/ttyS0]: --> ^Z
2010-04-16 14:36:49 [30152] [6] DEBUG: AT2[/dev/ttyS0]: <-- >
2010-04-16 14:36:49 [30152] [6] DEBUG: AT2[/dev/ttyS0]: <-- ERROR
2010-04-16 14:36:49 [30152] [6] ERROR: AT2[/dev/ttyS0]: Generic error: ERROR
2010-04-16 14:36:49 [30152] [6] DEBUG: AT2[/dev/ttyS0]: send command status:
-1
2010-04-16 14:36:49 [30152] [7] DEBUG: sms_router: handling message
(0xb4100558 vs 0xb4100558)
2010-04-16 14:36:49 [30152] [7] DEBUG: re-queing SMS not-yet-to-be resent
2010-04-16 14:36:49 [30152] [7] DEBUG: sms_router: handling message
(0xb4100558 vs 0xb4100558)
2010-04-16 14:36:49 [30152] [7] DEBUG: re-queing SMS not-yet-to-be resent

I hope that some of you could help me resolve this issue.

Thanks,
Thai

Reply via email to