Chapter 5. Setting up a SMS Gateway
pin = 2345
Variable
Value
Description
modemtype
string
Modems from different
manufacturers have slightly
different behaviour. We need to
know what type of modem is
used.
device (m)
device-name
The device the modem is
connected to, like
/dev/ttyS0
.
pin
string
This is the PIN number of the
SIM card in the GSM modem.
You can specify this option if
your SIM has never been used
before and needs to have the PIN
number entered. The PIN is
usually a four digit number.
validityperiod
integer
How long the message will be
valid, i.e., how long the SMS
center (the real one, not the
phone acting as one for Kannel)
will try to send the message to
the recipient. Encoded as per the
GSM 03.40 standard, section
9.2.3.12. Default is 167, meaning
24 hours.
alt-dcs
boolean
When encoding DCS field
internally, there are two formats
with similar functionality. The
0x0X (alt-dcs = false or
non-present) or the 0xFX (alt-dcs
= true). If you have a buggy
modem (like Siemens M20) that
don’t like to send binary
messages, try setting alt-dcs to
true.
Modem Type
Modems
wavecom
Wavecom
premicell
Nokia Premicell
siemens
Siemens M20 (this modem have
some bugs)
siemens-tc35
Siemens TC35
falcom
Falcom
44