I've been using Kannel for years with my WaveCom Fastrack Supreme 20 without 
any problems. 

Used mainly for personal proyects, etc, load was very low (a couple of messages 
a day), and it worked great. Two days ago I decided to send some messages for a 
customer (9,000+), and everything broke.

The device was able to send a couple of messages, and then started choking with 
entries in the log like:

2011-12-14 09:52:21 [2616] [6] DEBUG: AT2[/dev/ttyS0]: --> AT+CMGS=145^M
2011-12-14 09:52:21 [2616] [6] DEBUG: AT2[/dev/ttyS0]: <-- >
2011-12-14 09:52:21 [2616] [6] DEBUG: AT2[/dev/ttyS0]: send command status: 1
2011-12-14 09:52:21 [2616] [6] DEBUG: AT2[/dev/ttyS0]: --> 
0031000881980243970000A797C377BB2C1FA7C36C10B90C9A96CF75F97B0E9A97417479D83D37BFE5ED30885C06D5DD6150F05C768FD361D0F0DD2ECBC7E9303BAD0F93DFF230280CAABBC3A0E15B2E2F93DFF230885C064DCBE7BAFC3D77819AE13928ED36BFE5EDF038FD7683CA6ED0FD7E778DDFEDB27C5E3ED7E5EFB96BFC6EBFC6EF76DD9D1E87C9EFB92B3C87E301
2011-12-14 09:52:21 [2616] [6] DEBUG: AT2[/dev/ttyS0]: --> ^Z
2011-12-14 09:52:24 [2616] [6] DEBUG: AT2[/dev/ttyS0]: <-- >
2011-12-14 09:52:24 [2616] [6] DEBUG: AT2[/dev/ttyS0]: <-- ERROR
2011-12-14 09:52:24 [2616] [6] ERROR: AT2[/dev/ttyS0]: Generic error: ERROR

I've been reading for the last couple of days, about having to force INIT 
strings, or keep-alive strings, etc. But I've been unsucessful with any 
attempts I've made.

Right now, I am unable to use the system, because I have several thousand 
messages in my queue. I tried restarting the services, even the server a couple 
of times. The messages are still stored somewhere, and I am unable to delete 
the queue.

So I need help from you guys.

Inmediately I would need like for a way to empty queue.

And if possible, fix the problem, so I can send all the messages without my 
device choking. If not I am happy looking for another alternative for my 
customer.

This is my configuration: (running on Ubuntu)

group = core
admin-port = 13000 # the port number to access kannel’s admin web view
admin-password = bar
smsbox-port = 13001 #the port number used by the smsbox to connect to the 
bearerbox
log-file = "/var/log/kannel/kannel.log" # the bearerbox log file
log-level = 0
access-log = "/var/log/kannel/kannel.access"
box-deny-ip = "*.*.*.*"
box-allow-ip = "192.168.0.*"

group = smsc
smsc = at
modemtype = wavecom
device = /dev/ttyS0
keepalive = 10
speed = 115200
sms-center = 70108621
my-number = 70108621
connect-allow-ip = 127.0.0.1
log-file = "/var/log/kannel/smsc.log" 
log-level = 0

group = modems
id = wavecom
name = wavecom
detect-string = "WAVECOM"

group = smsbox
bearerbox-host = 127.0.0.1
sendsms-port = 13013
global-sender = 85282077
log-level = 0

group = sendsms-user
username="foo"
password="bar"
concatenation = true
max-messages = 10

group = sms-service
keyword-regex = .*
catch-all = yes
max-messages = 0
get-url = "http://192.168.0.12:8500/sms.cfm?phone=%p&text=%a";

I am grateful for any help I can get.

Reply via email to