I have kannel 1.4.1 running with this configuration:

----------------------------------------------------
group = core
admin-port = 13000
admin-password = test1
status-password = test2
admin-deny-ip = "*.*.*.*"
admin-allow-ip = "127.0.0.1"
smsbox-port = 13001
#box-deny-ip = "*.*.*.*"
#box-allow-ip = "127.0.0.1"
wdp-interface-name = "*"
log-file = "/var/log/kannel/bearerbox.log"
log-level = 0
access-log = "/var/log/kannel/access.log"

group = smsbox
bearerbox-host = 127.0.0.1
log-file = "/var/log/kannel/smsbox.log"
log-level = 0
access-log = "/var/log/kannel/smsboxaccess.log"
immediate-sendsms-reply = true

group = smsc
smsc = emi
host = 123.123.123.123
port = 3024
#smsc-username = notrequired
#smsc-password = notrequired
keepalive = 55
#our-port = 6000
#receive-port = 7000
idle-timeout = 30
log-file = /var/log/kannel/smsc.log
log-level = 5
smsc-id = TS

group = sendsms-user
username = foo
password = bar
user-deny-ip = "*.*.*.*"
user-allow-ip = "127.0.0.1"
--------------------------------------------------------

When I try to send a test SMS with

wget
http://127.0.0.1:13001/cgi-bin/sendsms\?username=foo\&password=bar\&to=4
91716942245\&text=Hello+world

It just hangs at:

--01:36:10--
http://127.0.0.1:13001/cgi-bin/sendsms?username=foo&password=bar&to=4917
96942245&text=Hello+world
           =>
`sendsms?username=foo&password=bar&to=491796942245&text=Hello+world.3'
Connecting to 127.0.0.1:13001... connected.
HTTP request sent, awaiting response...

bearerbox.log just stops here:

2007-12-14 01:42:57 [28988] [5] INFO: Client connected from <127.0.0.1>
2007-12-14 01:42:57 [28988] [5] DEBUG: Started thread 13
(gw/bb_boxc.c:function)
2007-12-14 01:42:57 [28988] [13] DEBUG: Thread 13
(gw/bb_boxc.c:function) maps to pid 28988.
2007-12-14 01:42:57 [28988] [13] DEBUG: Started thread 14
(gw/bb_boxc.c:boxc_sender)
2007-12-14 01:42:57 [28988] [14] DEBUG: Thread 14
(gw/bb_boxc.c:boxc_sender) maps to pid 28988.


Can someone please help me how to track down why bearerbox just hangs?
Can anyone see a problem with my config file?

Thanks!


Ciao,
Christof







Reply via email to