Chapter 5. Setting up a SMS Gateway
Variable
Value
Description
assume-plain-text
bool
If client does not set
Content-Type for reply, it is
normally
application/octet-stream which is
then handled as data in kannel.
This can be forced to be
plain/text to allow backward
compatibility, when data was not
expected.
concatenation
bool
Long messages can be sent as
independent SMS messages with
concatenation = false
or
as concatenated messages with
concatenation = true
.
Concatenated messages are
reassembled into one long
message by the receiving device.
split-chars
string
Allowed characters to split the
message into several messages.
So, with "#!" the message is split
from last ’#’ or ’!’, which is
included in the previous part.
split-suffix
string
If the message is split into
several ones, this string is
appended to each message except
the last one.
omit-empty
bool
Normally, Kannel sends a
warning to the user if there was
an empty reply from the service
provider. If
omit-empty
is set to
’true’, Kannel will send nothing
at all in such a case.
header
string
If specified, this string is
automatically added to each
SMS sent with this service. If the
message is split, it is added to
each part.
footer
string
As header, but not inserted into
head but appended to end.
prefix
string
Stuff in answer that is cut away,
only things between prefix and
suffix is left. Not case sensitive.
Matches the first prefix and then
the first suffix. These are only
used for
url
type services, and
only if both are specified.
61