Chapter 5. Setting up a SMS Gateway
Variable
Value
Description
sender-prefix
string
The number that the SMSC will
add in front of the sender number
of all messages sent from
Kannel. If Kannel is asked to
send a message, it will remove
this prefix from the sender
number so that the SMSC will
add it again. If the prefix was not
present, Kannel will log a
warning and will not send the
sender number. If
sender-prefix
is not set, or is
set to
"never"
, then Kannel will
not send the sender number to the
SMSC at all. If you want Kannel
to pass all sender numbers to the
SMSC unchanged, then just set
sender-prefix
to the empty
string
""
.
CMG UCP/EMI 4.0
Kannel supports two types of connections with CMG SMS centers: direct TCP/IP connections (
emi_ip
or
emi2
) and ISDN/modem (X.25 over D channel ISDN is called X.31) connection (
emi
).
emi2
is a new
implementation of the EMI protocol that supports more features and should work more reliably than the
old one. It is the recommended one to use with TCP/IP connections. Sample configurations for these are:
group = smsc
smsc = emi2
#smsc = emi_ip to use the old implementation
host = 103.102.101.100
port = 600
smsc-username = foo
smsc-password = bar
keepalive = 55
our-port = 600 (optional bind in our end)
receive-port = 700 (the port in which the SMSC will contact)
idle-timeout = 30
group = smsc
smsc = emi
host = 100.102.100.102
phone = ...
device = /dev/tty0
smsc-username = foo
smsc-password = bar
33