Setting Wap Push on Kannel
After building kannel based on the last documentation on how to configure Kannel on
Ubuntu, we need to do following steps to let Wap Push work:
1. We need another configuration file to configure bearbox, smsbox and wapbox, and put
this configuration file under /gw directory with the file name wappush.conf.
#
# CONFIGURATION FOR WAP PUSH OVER SMS
#
# It is run like this:
#
# 1% gw/bearerbox gw/wappush.conf
# 2% gw/wapbox gw/wappush.conf
#
#
# BEARERBOX SETUP, for Kannel core operations
group = core
admin-port = 13000
smsbox-port = 13001
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"
#unified-prefix = "+358,00358,0;+,00"
#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"
# WAPBOX SETUP, for pushing and for pulling (fetching) the wap data
group = wapbox
bearerbox-host = 127.0.0.1
#log-file = "/tmp/wapbox.log"
#log-level = 0
syslog-level = none
# PPG CORE SETUP, for defining the push request interface
group = ppg
ppg-url = /cgi-bin/wap-push.cgi
ppg-port = 8080
评论0