Nokia WAP and SMS gateway User Manual

Page 61

Advertising
background image

Chapter 5. Setting up a SMS Gateway

Variable

Value

Description

sendsms-chars

string

Only these characters are

allowed in ’to’ field when
send-SMS service is requested
via HTTP. Naturally, you should
allow at least

0123456789

. The

space

character (’ ’) has special

meaning: it is used to separate
multiple phone numbers from
each other in multi-send. To
disable this feature, do not have
it as an accepted character. If this
variable is not set, the default set

"0123456789 +-"

is used.

global-sender

phone-number

If set, all sendsms originators are

set as these before proceeding.
Note that in a case of most SMS
centers you cannot set the sender
number, but it is automatically
set as the number of SMSC

log-file

filename

As with the bearerbox ’core’

group. Access-log is used to
store information about MO and
send-sms requests. Can be
named same as the ’main’
access-log (in ’core’ group).

log-level

number 0..5

access-log

filename

white-list

URL

Load a list of accepted

destinations of SMS messages. If
a destination of an SMS message
is not in this list, any message
received from the HTTP
interface is rejected. See notes of
phone number format from
numhash.h header file.

black-list

URL

As white-list, but SMS messages

to these numbers are
automatically discarded

reply-couldnotfetch

string

If set, replaces the SMS message

sent back to user when kannel
could not fetch content. Defaults
to

Could not fetch

content, sorry.

.

54

Advertising