beautypg.com

Finishing ppg configuration – Nokia WAP and SMS gateway User Manual

Page 94

background image

Chapter 7. Setting up Push Proxy Gateway

Variable

Value

Description

deny-ip

ip-list

Defines ips wherefrom this pi

cannot do pushes. Ips not
mentioned in either list are
denied, too.

default-smsc

string

If no SMSC ID is given with the

wappush HTTP request (see
below), use this one as default
route for this specific push user.

forced-smsc

string

Allow only routing to a defined

SMSC ID for this specific push
user.

Finishing ppg configuration

PPG uses SMS for sending SI to the phone and an IP bearer to fetch content specified by it (see chapter
Overview of WAP Push). This means both wapbox and bearer smsc connections are in use. So your push
proxy gateway configuration file must contain groups core, wapbox, smsc and smsbox. These are
configured normal way, only smsc group may have push-specific variables. Note that following
configurations are only an example, you may need more complex ones.

Bearerbox setup does not require any new variables:

group = core

admin-port = 13000

smsbox-port = 13001

wapbox-port = 13002

admin-password = b

wdp-interface-name = "*"
log-file = "filename"

log-level = 1

box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"

unified-prefix = "00358,0"

You mut set up wapbox, for pulling (fetching) the wap data, and of course starting the push itself. No
new variables here, either.

group = wapbox

bearerbox-host = localhost

log-file = "filename"

log-level = 0

syslog-level = none

To set up smsc connections, for pushing SI or SL over SMS. Here HTTP SMSC is used as an example.
Variables no-sender and no-coding simplify HTTP request generated by Kannel. Send-url specifies
content gateway, or sendsms service.

group = smsc

87