beautypg.com

Core configuration, 1. core group variables – Nokia WAP and SMS gateway User Manual

Page 22

background image

Chapter 3. Using the gateway

Core configuration

Configuration for Kannel MUST always include a group for general bearerbox configuration. This group
is named as ’core’ in configuration file, and should be the first group in the configuration file.

As its simplest form, ’core’ group looks like this:

group = core

admin-port = 13000

admin-password = f00bar

Naturally this is not sufficient for any real use, as you want to use Kannel as an SMS gateway, or WAP
gateway, or both. Thus, one or more of the optional configuration variables are used. In following list (as
in any other similar lists), all mandatory variables are marked with

(m)

, while conditionally mandatory

(variables which must be set in certain cases) are marked with

(c)

.

Table 3-1. Core Group Variables

Variable

Value

Description

group (m)

core

This is a mandatory variable

admin-port (m)

port-number

The port number in which the

bearerbox listens to HTTP
administration commands. It is
NOT the same as the HTTP port
of the local www server, just
invent any port, but it must be
over 1023 unless you are running
Kannel as a root process (not
recommended)

admin-port-ssl (o)

bool

If set to true a SSL-enabled

administration HTTP server will
be used instead of the default
unsecure plain HTTP server. To
access the administration pacges
you will have to use a HTTP
client that is capable of talking to
such a server. Use the "https://"
scheme to access the secured
HTTP server. Defaults to "no".

admin-password (m)

string

Password for HTTP

administration commands (see
below)

status-password

string

Password to request Kannel

status. If not set, no password is
required, and if set, either this or

admin-password

can be used

15