beautypg.com

Running wap gateway, Checking whether the wap gateway is alive, 26 checking whether the wap gateway is alive – Nokia WAP and SMS gateway User Manual

Page 34

background image

Chapter 4. Setting up a WAP gateway

Variable

Value

Description

log-file

filename

As with bearerbox ’core’ group.

log-level

number 0..5

syslog-level

number

Messages of this log level or

higher will also be sent to syslog,
the UNIX system log daemon.
The wapbox logs under the
’daemon’ category. The default is
not to use syslog, and you can set
that explicitly by setting

syslog-level

to ’none’.

force-sar

bool

If set wapbox will force to

process WTP-SAR connections
even while Kannel does not
support this feature now. Some
real phones seem to break
connection if fallback to non
SAR communication is being
tried by the gateway.

smart-errorsr

bool

If set wapbox will return a valid

WML deck describing the eror
that occured while processing an
WSP request. This may be used
to have a smarter gateway and let
the user know what happend
actually.

Running WAP gateway

WAP Gateway is ran as explained in previous chapter.

Checking whether the WAP gateway is alive

You can check whether the WAP gateway (both the bearerbox and the wapbox) is alive by fetching the
URL

kannel:alive

.

27