Nokia WAP and SMS gateway User Manual

Page 62

Advertising
background image

Chapter 5. Setting up a SMS Gateway

Variable

Value

Description

reply-couldnotrepresent

string

If set, replaces the SMS message

sent back when kannel could not
represent the result as a SMS
message. Defaults to

Result

could not be represented

as an SMS message.

.

reply-requestfailed

string

If set, replaces the SMS message

sent back when kannel could not
contact http service. Defaults to

Request Failed

.

reply-emptymessage

string

If set, replaces the SMS message

sent back when message is
empty. Set to "" to enable empty
messages. Defaults to

<Empty

reply from service

provider

>

.

mo-recode

boolean

If true, kannel will try to convert

UCS2 messages received to
ISO-8859-1. If it’s possible, the
message will have

coding

equal

to

7 bits

and

charset

equal to

iso-8859-1

.

http-request-retry

integer

If set, specifies how many retries

should be performed for failing
HTTP requests of sms-services.
Defaults to 0, which means no
retries should be performed and
hence no HTTP request queueing
is done.

http-queue-delay

integer

If set, specifies how many

seconds should pass within the
HTTP queueing thread for
retrying a failed HTTP request.
Defaults to 10 sec. and is only
obeyed if

http-request-retry

is set to

a non-zero value.

A typical ’smsbox’ group could be something like this:

group = smsbox

bearerbox-host = localhost

sendsms-port = 13131

sendsms-chars = "0123456789 "

global-sender = 123456

access-log = "kannel.access"

log-file = "smsbox.log"

55

Advertising