Chapter 5. Setting up a SMS Gateway
Variable
Value
Description
allowed-prefix
prefix-list
A list of phone number prefixes
which are accepted to be sent
using this username. Multiple
entries are separated with
semicolon (’;’). For example,
"040;050" prevents sending of
any SMS message with prefix of
040 or 050 through this SMSC.
If denied-prefix is unset, only
this numbers are allowed. If set,
number are allowed if present in
allowed or not in denied list.
denied-prefix
prefix-list
A list of phone number prefixes
which are NOT accepted to be
sent using this username.
white-list
URL
Load a list of accepted
destinations of SMS messages. If
a destination of an SMS message
is not in this list, any message
received from the HTTP
interface is rejected. See notes of
phone number format from
numhash.h header file.
black-list
URL
As white-list, but SMS messages
from these numbers are
automatically rejected.
dlr-url
URL
URL to be fetched if a
dlrmask
CGI parameter is present.
Some sample ’sendsms-user’ groups:
group = sendsms-user
username = simple
password = elpmis
group = sendsms-user
username = complex
password = 76ftY
user-deny-ip = "*.*.*.*"
user-allow-ip = "123.234.123.234"
max-messages = 3
concatenation = true
forced-smsc = SOL
The second one is very limited and only allows a user from IP "123.234.123.234". On the other hand, the
user can send a longer message, up to 3 SMSes long, which is sent as concatenated SMS.
68