I installed kennel on my ubuntu 8.04 system via this command: sudo aptitude
install kannel. My configuration file is below so as the log. My problem is,
incoming messages are not being forwarded to my sms-service for precessing. I
even substituted get-url for text = "blah blah" to see if I get this text back
as an sms response but nothing. What am I doing wrong?

bearerbox.log:
[4651] [0] INFO: Kannel bearerbox II version 1.4.1 starting
[4651] [0] INFO: MAIN: Start-up done, entering mainloop
[4651] [0] DEBUG: AT2[/dev/ttyS0]: start called
[4651] [7] DEBUG: sms_router: gwlist_len = 0
[4651] [13] INFO: Client connected from <127.0.0.1> 
[4651] [15] DEBUG: Thread 15 (gw/bb_boxc.c:function) maps to pid 4651.
[4651] [15] DEBUG: setting up systems for new wapbox
[4651] [13] DEBUG: Started thread 15 (gw/bb_boxc.c:function)
[4651] [16] DEBUG: Thread 16 (gw/bb_boxc.c:boxc_sender) maps to pid 4651.
[4651] [15] DEBUG: Started thread 16 (gw/bb_boxc.c:boxc_sender)
[4651] [4] WARNING: smsbox_list empty!
[4651] [4] WARNING: smsbox_list empty!

kannel.config:
group = core
admin-port = 13000
smsbox-port = 13001
admin-password = tezvara
admin-deny-ip = "*.*.*.*"
admin-allow-ip = ""
wapbox-port = 13002
wdp-interface-name = "*"
log-file = "/var/log/kannel/bearerbox.log"
log-level = 0
access-log = "/var/log/kannel/access.log"
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"
dlr-storage = mysql

group = wapbox
bearerbox-host = localhost
log-file = "/var/log/kannel/wapbox.log"

group = smsc
smsc = at
modemtype = auto
device = /dev/ttyS0
my-number = 0715019369
connect-allow-ip = 127.0.0.1
log-file = "/var/log/kannel/smsc.log"
log-level = 0

group = smsbox
bearerbox-host = localhost
sendsms-port = 13013
global-sender = 0715019369
log-file = "/var/log/kannel/smsbox.log"
log-level = 0
access-log = "/var/log/kannel/smsbxaccess.log"

group = sendsms-user
username = kanneluser
password = chenjerai
concatenation = true
max-messages = 10

group = sms-service
keyword =
keyword-regex = .*
catch-all = yes
max-messages = 0
# get-url = "http://localhost/cgi-bin/sms.py?phone=%p&text=%a";
text = "The eagle has landed"

group = mysql-connection
id = mydlr
host = localhost
username = smsuser
password = changamire
database = dlr
# max count of connections that will be opened for dbpool
# default is 1
max-connections = 1

group = dlr-db
id = mydlr
table = tdlr
field-smsc = smsc
field-timestamp = ts
field-destination = destination
field-source = source
field-service = service
field-url = url
field-mask = mask
field-status = status
field-boxc-id = boxc

include = "/usr/share/doc/kannel/examples/modems.conf"



Reply via email to