C-1. Test_Ppg's Command Line Options - Kannel WAP and SMS gateway User Manual

Open source wap and sms gateway
Table of Contents

Advertisement

second one pap control document. (For command line options, see Table C.1.). For example doing one
push(you can simplify push url by setting a ppg configuration variable, see "Setting up push proxy
gateway"; q flag here prevents dumping of test_ppg program debugging information):
test/test_ppg -q http://ppg-host-name:ppg-port/ppg-url [content_file]
[control_file]
This presumes that you have set trusted-pi true.
If you want use authentication in a test environment, you can pass username and password either using
headers (setting flag -b) or url (you must have set trusted-pi false and added wap-push-user configuration
group):
test/test_ppg -q http://ppg-host-name:ppg-port?username=ppg-username'&'
password=ppg-password [content_file] [control_file]
Table C-1. Test_ppg's command line options
Switch
-c
-a
-e
-b
-i
-r
-t
Appendix C. Setting up a test environment for Push Proxy Gateway
Value
string
string
string
boolean
number
number
number
Description
Use content qualifier string
instead of default
(service
si
indication). Allowed values are
wml, si, sl, sia, multipart, nil and
scrap. Nil and scrap are used for
debugging purposes. Wml does
work with some older phone
simulators.
Use application id string instead
of default
. Application
any
identifies the application in the
phone that should handle the
push request. Sia, ua, mms, nil
and scrap are accepted. Nil and
scrap are used for debugging
purposes.
Use tranfer encoding when
sending a push content. Only
base64 is currently supported.
Use headers for authentication,
instead of url. Default off.
Wait interval number instead of
default
between pushes.
0
Do number requests instead of
default
.
1
Use number threads instead of
default
.
1
100

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

1.3.1

Table of Contents