Kannel WAP and SMS gateway User Manual page 54

Open source wap and sms gateway
Table of Contents

Advertisement

Modem definitions are now multiple groups present in kannel.conf, either directly or, for example, by
including the example modems.conf. (See Inclusion of configuration files)
Variable
group
id
name
detect-string
detect-string2
init-string
speed
enable-hwhs
need-sleep
no-pin
no-smsc
Value
modems
string
string
string
string
string
number
string
boolean
boolean
boolean
Chapter 5. Setting up a SMS Gateway
Description
This is a mandatory variable
This is the the id that should be
used in
variable
modemtype
from AT2
The name of this modem
configuration. Used in logs
String to use when trying to
detect the modem. See
detect-string2
Second string to use to detect the
modem. For example, if the
modem replies with "SIEMENS
MODEM M20",
could be
detect-string
"SIEMENS" and
"M20"
detect-strign2
Optional initialization string.
Defaults to
"AT+CNMI=1,2,0,1,0"
Serial port hint speed to use.
Optional. Defaults to smsc group
speed or autodetect
Optional AT command to enable
hardware handshake. Defaults to
"AT+IFC=2,2"
Optional. Defaults to false.
Some modems needs to sleep
after opening the serial port and
before first command
Optional. Defaults to false. If the
modem doesn't support the PIN
command, enable this
Optional. Defaults to false. If the
modem doesn't support setting
the SMSC directly on the pdu,
enable this. (Default is to include
a "00" at the beginning of the
PDU to say it's the default smsc,
and remove the "00" when
receiving)
47

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

1.3.1

Table of Contents