Chapter 5. Setting up a SMS Gateway
Variable
Value
Description
port (m)
port-number
Port number in which Kannel
listens to (MO) messages from
other gateway
connect-allow-ip
IP-list
IPs allowed to use this interface.
If not set, "127.0.0.1" (localhost)
is the only host allowed to
connect.
smsc-username
string
Username associated to
connection, if needed. ’kannel’
requires this, and it is the same as
send-sms username at other end.
smsc-password
string
Password for username, if
needed.
Using multiple SMS centers
If you have several SMS center connections (multiple operators or a number of GSM modems) you need
to configure one smsc group per SMS center (or GSM modem). When doing this, you might want to use
routing systems to rout messages to specific centers - for example, you have 2 operator SMS centers, and
the other is much faster and cheaper to use.
To set up routing systems, first give an unique ID for each SMS center - or if you want to treat multiple
ones completely identical, give them identical ID. Then use
preferred-smsc-id
and
denied-smsc-id
to set up the routing to your taste. See also SMS PUSH settings (’sendsms-user’
groups), below.
Feature checklist
Not all of Kannel’s SMSC drivers support the same set of features. This is because they were written at
different times, and new features are often only added to drivers that the feature author can test.
The table in this section is an attempt to show exactly what features to expect from a driver, and to help
identify areas where drivers need to be updated. Currently most of the entries are marked as "not tested"
because the table is still new.
Table 5-2. SMSC driver features
Featurecimd
cimd2
emi
emi_ip
emi2
smpp
sema
ois
at
at2
http
fake
Can use DLR
n
y?
n
n
y
y?
n
n
n
n
n
n
Can set DCS
a
?
?
?
?
y
?
?
?
?
y
?
?
Can set Alt-DCS
50