Hi there,

I'm seeing a couple of strange problems with my installation of
kannel, which I am hoping someone has come across before.

I have a Wavecom GPRS modem with a t-mobile sim card in, for the most
part this works fine, however, occasionally I will see the following
appear in the bearerbox log:

2007-07-21 17:30:01 [30876] [8] DEBUG: boxc_receiver: sms received
2007-07-21 17:30:01 [30876] [8] DEBUG: send_msg: sending msg to box: <127.0.0.1>
2007-07-21 17:30:01 [30876] [8] DEBUG: boxc_receiver: sms received
2007-07-21 17:30:01 [30876] [8] DEBUG: send_msg: sending msg to box: <127.0.0.1>
2007-07-21 17:30:02 [30876] [6] DEBUG: AT2[/dev/ttyS0]:
TP-Validity-Period: 24.0 hours
2007-07-21 17:30:02 [30876] [6] DEBUG: AT2[/dev/ttyS0]: --> AT+CMGS=91^M
2007-07-21 17:30:02 [30876] [6] DEBUG: AT2[/dev/ttyS0]: <-- AT+CMGS=91>
2007-07-21 17:30:02 [30876] [6] DEBUG: AT2[/dev/ttyS0]: send command status: 1
2007-07-21 17:30:02 [30876] [6] DEBUG: AT2[/dev/ttyS0]: -->
0011000B817078307318F50000A757F374FBED06A5E7A0B77B1C66B34128190C766BC16E2D592C059AA7DB6F37283D07BDDDE3309B0DA2BFDB6FB9FC7D07A16430D8AD05BBB564B214684E0FCBE969F71914A683DA69B23B7D46D301
2007-07-21 17:30:02 [30876] [6] DEBUG: AT2[/dev/ttyS0]: --> ^Z
2007-07-21 17:30:02 [30876] [6] DEBUG: AT2[/dev/ttyS0]: <-- >
2007-07-21 17:30:02 [30876] [6] DEBUG: AT2[/dev/ttyS0]: <-- ERROR
2007-07-21 17:30:02 [30876] [6] ERROR: AT2[/dev/ttyS0]: Generic error: ERROR
2007-07-21 17:30:02 [30876] [6] DEBUG: AT2[/dev/ttyS0]: send command status: -1

This is the repeated three more times, all subsequent messages will
fail until the bearerbox and smsbox applications are restarted.

This is running on Redhat AS3 on kannel 1.4.1, messages are being
inserted using the HTTP interface.

Has anyone seen something similar before, I'd be grateful for any
insight that could be offered.

Kannel conf below

group = core
admin-port = 13000
smsbox-port = 13001
admin-password = <ommitted>
log-file = "/var/log/kannel.log"
log-level = 0
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1;10.*"



group = smsc
smsc = at
modemtype = wavecom
device = /dev/ttyS0
speed = 9600
pin = <ommitted>


group = smsbox
bearerbox-host = 127.0.0.1
sendsms-port = 13013
global-sender = 13013
log-file = "/var/log/smsbox.log"
log-level = 0
access-log = "/var/log/sms-access.log"
log-level = 0

group = modems
id = wavecom
name = "wavecom"
need-sleep = true


group = sendsms-user
username = <ommitted>
password = <ommitted>

Kind Regards,

Simon

--
Simon Edwards

Reply via email to