Hello all!
I've been playing with kannel, which sounds great, but I'm having problems
getting a response out of the server.

I compiled kennel 1.2.1 under cygwin (winnt4 sp6a), which went fine.

I am running bearerbox and wapbox with the following config (not much
different from the standard example):

#
# After that you can use your 7110 to test this out. Or use
# fakewap from test directory, or some SDK.
#
# For any guidelines to set up your SDK or 7110, see Kannel FAQ
# on Kannel WWW pages at http://www.kannel.org/
# 
# For any modifications to this file, see Kannel User Guide 
# If that does not help, send email to [EMAIL PROTECTED]
#
#   Kalle Marjola May 2000
#

group = core
admin-port = 13000
wapbox-port = 13002
admin-password = bar
status-password = foo
#admin-deny-ip = ""
admin-allow-ip = "*.*.*.*"
wdp-interface-name = "*"
log-file = "/tmp/bearerbox.log"
log-level = 1
#box-deny-ip = "*.*.*.*"
box-allow-ip = "*.*.*.*"
access-log = "access.log"
#store-file = "kannel.store"

group = wapbox
bearerbox-host = localhost
log-file = "/tmp/wapbox.log"
log-level = 0
syslog-level = none
access-log = "/tmp/wapaccess.log"

--------------------------------------------------------------------------

when I try the example of shutting it down via an http request:

lynx -dump "http://localhost:13000/shutdown?password=bar";

I get no response.
nothing is logged by either wapbox or bearerbox

however, if I do:

lynx -dump "http://localhost:13002/shutdown?password=bar";

(which I know is the wap port, not the admin port), and then press CTRL+C as
it just sits there, I get the following in the bearerbox window:

2002-11-19 15:22:13 [9] DEBUG: Started thread 13 (gw/bb_boxc.c:function)
2002-11-19 15:22:13 [13] INFO: Client connected from <127.0.0.1>
2002-11-19 15:22:13 [13] DEBUG: setting up systems for new wapbox
2002-11-19 15:22:13 [13] DEBUG: Started thread 14 (gw/bb_boxc.c:boxc_sender)
2002-11-19 15:22:13 [13] ERROR: Connection to box <127.0.0.1> broke.
2002-11-19 15:22:14 [14] DEBUG: Thread 14 (gw/bb_boxc.c:boxc_sender)
terminates.
2002-11-19 15:22:14 [13] DEBUG: Thread 13 (gw/bb_boxc.c:function)
terminates.

so tcpip is sort of working.
According to the userguide, the wapkannel.conf should be enough to at least
get a response from the server.
I tried using fakewap to do something, but that times-out as well.

does anyone know what I'm doing wrong?

thanks!

                        chris

-- 
The content of this e-mail is confidential, may contain privileged material
and is intended solely for the recipient(s) named above. If you receive this
in error, please notify Software AG immediately and delete this e-mail.

Software AG (UK) Limited
Registered in England & Wales 1310740
Registered Office: Hudson House, Hudson Way,
Pride Park, Derby DE24 8HS

Reply via email to