Starting Necessary Programs - Kannel WAP and SMS gateway User Manual

Open source wap and sms gateway
Table of Contents

Advertisement

Want to test a fetch?
</indication>
</si>
Note that the date value of the si-expires attribute contains trailing zeroes. They are OK here, because SI
tokenizer removes them. But phones does not accept them in the final SMS data message. You should
probably use
the push message. Production usage is a quite another matter.
Another example of push content is Service Loading. In principle, the phone should fetch immediately
content from URL
unsecure, and indeed, user invention is probably required before fetching.
<?xml version="1.0"?>
<!DOCTYPE sl PUBLIC "-//WAPFORUM//DTD SL 1.0//EN"
<sl href="http://wap.iobox.fi"
action="execute-high">
</sl>

Starting necessary programs

PPG test environment contains, in addition of wapbox and bearerbox, two test programs,
(simulating push initiator) and
content sended over SMS. You can find both of these programs in
and easily editable.
To set up a test environment, you must first configure a push proxy gateway (setting flag trusted-pi true
makes testing easier). This explained in Chapter "Setting up push proxy gateway". Then issue following
commands, in Kannel's root directory and in separate windows:
gw/bearerbox [conffile]
gw/wapbox [conffile]
Of course you can use more complicated wapbox and bearerbox command line options, if necessary.
To run a http smsc, start http server simulation:
test/test_http_server -p port
You can, of course, select the port at will. Remember, though, that PPG listens at the port defined in the
ppg configuration file. Other
Lastly, start making push requests, for instance with a test program
URL specifying location of push services. Other arguments are two file names, first one push content and
Appendix C. Setting up a test environment for Push Proxy Gateway
si-expires="2002-06-30T00:00:00Z">
action="signal-high"
http://wap.iobox.fi
"http://www.wapforum.org/DTD/sl.dtd">
test_http_server
test_http_server
for testing purposes, for it causes an immediate presentation of
when it receives this document. This sounds quite
(simulating a SMSC center accepting pushed
options are irrelevant here.
test_ppg
directory, and they both are short
test
. Its first argument is a
test_ppg
99

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

1.3.1

Table of Contents