Dear group,
I am testing my wap gate way.
1. My first command is
./bearerbox -v -1 smskannel.conf,
where smskannel.conf is as follow.
*
#-
# CORE
#
# There is only one core group and it sets all basic settings
# of the bearerbox (and system). You should take extra notes on
# configuration variables like 'store-file' (or 'store-dir'),
# 'admin-allow-ip' and 'access.log'
group = core
admin-port = 13000
smsbox-port = 13001
wapbox-port = 13002
admin-password = bar
#status-password = foo
#admin-deny-ip =
#admin-allow-ip =
#log-file = /tmp/kannel.log
#log-level = 0
box-deny-ip = *.*.*.*
box-allow-ip = 127.0.0.1
#unified-prefix = +358,00358,0;+,00
#access-log = /tmp/access.log
#store-file = kannel.store
#ssl-server-cert-file = cert.pem
#ssl-server-key-file = key.pem
#ssl-certkey-file = mycertandprivkeyfile.pem
group = smsc
smsc = fake
smsc-id = FAKE
port = 1
connect-allow-ip = 127.0.0.1
group = smsbox
bearerbox-host = 127.0.0.1
sendsms-port = 13013
global-sender = 13013
#sendsms-chars = 0123456789 +-
#log-file = /tmp/smsbox.log
#log-level = 0
#access-log = /tmp/access.log
group = wapbox
bearerbox-host = 127.0.0.1
#log-file = /tmp/wapbox.log
#log-level = 0
syslog-level = none
#access-log = /tmp/wapaccess.log
// And other sms information.
**
2. My second command is
./wapbox -v -1 sapkannel.conf,
where wapkannel.conf is as follow.
*
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 = 0
box-deny-ip = *.*.*.*
box-allow-ip = 127.0.0.1
#access-log = /tmp/access.log
#store-file = /tmp/kannel.store
#ssl-server-cert-file = cert.pem
#ssl-server-key-file = key.pem
#ssl-certkey-file = mycertandprivkeyfile.pem
group = wapbox
bearerbox-host = 127.0.0.1
#log-file = /tmp/wapbox.log
#log-level = 0
syslog-level = none
#access-log = /tmp/wapaccess.log
3. My third command is
./test/fakewap -g 127.0.0.1 http:/wap.wep.de/ (Stipe told me to fire this
command). However, I got the following
errors.
**
/home/w1036/kannel/gateway-1.4.1/test./fakewap -g 127.0.0.1
http://wap.web.de/
2006-11-27 14:32:31 [13979] [0] INFO: fakewap starting
2006-11-27 14:32:41 [13979] [0] INFO: Timeout while receiving from socket.
2006-11-27 14:32:41 [13979] [0] PANIC: Receive WSP_ConnectReply failed
2006-11-27 14:32:41 [13979] [0] PANIC: ./fakewap(gw_panic+0xfd) [0x80595f5]
2006-11-27 14:32:41 [13979] [0] PANIC: ./fakewap(vfprintf+0x1417)
[0x80501e7]
2006-11-27 14:32:41 [13979] [0] PANIC: ./fakewap(main+0x2f0) [0x8050528]
2006-11-27 14:32:41 [13979] [0] PANIC:
/lib/tls/libc.so.6(__libc_start_main+0xda) [0xbb678a]
2006-11-27 14:32:41 [13979] [0] PANIC: ./fakewap(SSL_write+0x41) [0x804f4a1]
***
I would also like to test my wap gateway from a live motorola phone with
T-mobile sim card. Can someone tell me
the steps for testing and also the errors I am making in starting my wap
gateway/fakewap.
Thanks in advance.
nagrik