Running A Push Proxy Gateway; An Example Using Http Smsc; An Example Push (Tokenised Si) Document - Kannel WAP and SMS gateway User Manual

Open source wap and sms gateway
Table of Contents

Advertisement

smsc = http
smsc-id = HTTP
port = 10000
system-type = kannel
smsc-username = foo
smsc-password = bar
no-sender = true
no-coding = true
send-url = http://host:port/path
To set up smsbox. This group will eventually disappear, use here only necessary configuration variables.
group = smsbox
bearerbox-host = localhost
Kannel sources contain a sample push configuration file

Running a push proxy gateway

Push proxy gateway is started by simply typing, using separate windows:
gw/bearerbox [conffile]
gw/wapbox [conffile]
You can, of course, use more complex command line options.

An example using HTTP SMSC

An easy way to test and implement push services is to put ppg in the front of an existing sendsms service
capable to send SMS data messages and to to understand HTTP requests generated by HTTP SMSC.
(See next chapter.) Then you need only configure SMSC configuration send-url to point to sendsms
service.

An example push (tokenised SI) document

HTTP SMSC generates a HTTP get request when it get a sendmessage event, expressed in unicode. The
content gateway, or the sendsms service must, of course, understand this URL. So here is an example, cgi
variable text contains the url escaped form of a SI document. It is usable for testing prototype phones.
http://matrix:8080/phplib/kannelgw.php?user= * deleted * &
pass= * deleted * =to=%2B358408676001&text=3D%02%06%17%AE%96localhost
%3A8080%00%AF%80%8D%CF%B4%80%02%05j%00E%C6%0C%03wap.iobox.fi%00%11%03
1%40wiral.com%00%07%0A%C3%07%19%99%06%25%15%23%15%10%C3%04+%02%060%01
%03Want+to+test+a+fetch%3F%00%01%01&udh=%06%05%04%0B%84%23%F0
Chapter 7. Setting up Push Proxy Gateway
gw/pushkannel.conf
.
88

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

1.3.1

Table of Contents