Nokia WAP and SMS gateway User Manual

Page 27

Advertising
background image

Chapter 3. Using the gateway

Variable

Value

Description

ssl-trusted-ca-file

filename

This file contains the certificates

Kannel is willing to trust when
working as a HTTPS client. If
this option is not set, certificates
are not validated and those the
identity of the server is not
proven.

dlr-storage

type

Defines the way DLRs are

stored. If you have build-in
external DLR storage support,
i.e. using MySQL you may
define here the alternative storage
type like ’mysql’. Supported
types are: internal, mysql. By
default this is set to ’internal’.

maximum-queue-length

number of messages

Set maximum size of incoming

message queue. After number of
messages has hit this value,
Kannel began to discard them.
Value 0 means giving strict
priority to outgoing messages.
-1, default, means that the queue
of infinite length is accepted.
(This works with any normal
input, use this variable only
when Kannel message queues
grow very long).

A sample more complex ’core’ group could be something like this:

group = core

admin-port = 13000

admin-password = f00bar

status-password = sTat

admin-deny-ip = "*.*.*.*"
admin-allow-ip = "127.0.0.1;200.100.0.*"
smsbox-port = 13003

wapbox-port = 13004

box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1;200.100.0.*"
wdp-interface-name = "*"
log-file = "kannel.log"

log-level = 1

access-log = "kannel.access"

unified-prefix = "+358,00358,0;+,00"

white-list = "http://localhost/whitelist.txt"

20

Advertising