Chapter 5. Setting up a SMS Gateway
Variable
Value
Description
allowed-receiver-prefix
prefix-list
A list of phone number prefixes
of the receiver number which are
accepted to be received by this
service. This may be used to
allow only inbound SMS to
certain shortcut numbers to be
allowed to this service.
denied-receiver-prefix
prefix-list
A list of phone number prefixes
of the receiver number which are
NOT accepted to be sent through
this SMSC.
catch-all
bool
Catch keyword regardless of
’%s’ parameters in pattern.
send-sender
bool
Used only with POST. If set to
true, number of the handset is
set, otherwise not.
strip-keyword
bool
Used only with POST. Remove
matched keyword from message
text before sending it onward.
faked-sender
phone-number
This number is set as sender.
Most SMS centers ignore this,
and use their fixed number
instead. This option overrides all
other sender setting methods.
max-messages
number
If the message to be sent is
longer than maximum length of
an SMS it will be split into
several parts.
max-messages
lets you specify a maximum
number of individual SMS
messages that can be used. If
max-messages
is set to 0, no
reply is sent, except for error
messages.
accept-x-kannel-headers
bool
Request reply can include
special X-Kannel headers but
these are only accepted if this
variable is set to true. See
Extended headers
.
60