beautypg.com

Nokia WAP and SMS gateway User Manual

Page 105

background image

Appendix C. Setting up a test environment for
Push Proxy Gateway

This appendix explains how to set a test environment for PPG. This contains a simulated SMSC, for
instance a http server simulation (this is used as example, because it is simplest) and a simulated push
initiator. Between them, there is the push proxy gateway to be tested. This means that you must configure
HTTP SMSC.

Creating push content and control document for testing

Here is an example of a push control document, which gives PPG instructions how to do the pushing.

"http://www.wapforum.org/DTD/pap_1.0.dtd">

[email protected]"

deliver-before-timestamp="2001-09-28T06:45:00Z"

deliver-after-timestamp="2001-02-28T06:45:00Z"

progress-notes-requested="false">

[email protected]"/>

delivery-method="unconfirmed"

network-required="true"

network="GSM"

bearer-required="true"

bearer="SMS"/>

Because the push content is sended to the phone over SMS, rigth value for

network-required

and

bearer-required

is true, for

network

GSM and for

bearer

SMS. However, you can omit these

values alltogether, if you use a phone number as an address. Address value is international phone number
and it must start with plus. It is used here as an unique identifier, SMSC, or sendsms script must
transform it to an usable phone number.

Here is an example of Service Indication, a type of push content. Essentially, the phone displays, when it
receives this SI, the text "Want to test a fetch" and if the user wants, fetches the content located by URL

http://wap.iobox.fi

.

"http://www.wapforum.org/DTD/si.dtd">

si-id="[email protected]"

action="signal-high"

created="1999-06-25T15:23:15Z"

98