Chapter 5. Setting up a SMS Gateway
Variable
Value
Description
text (c)
string
Predefined text answer. Only if
there is neither
url
nor
file
set.
Escape codes (parameters) are
usable here, too.
exec (c)
string
Executes the given shell
command as the current UID of
the running smsbox user and
returns the output to
stdout
as
reply. Escape codes (parameters)
are usable here, too. BEWARE:
You may harm your system if
you use this sms-service type
without serious caution! Make
sure anyone who is allowed to
use these kind of services is
checked using white/black-list
mechanisms for security reasons.
accepted-smsc
id-list
Accept ONLY SMS messages
arriving from SMSC with
matching ID.
a
Separate multiple
entries with ’;’. For example, if
accepted-smsc
is "RL;SON",
accept messages which originate
from SMSC with ID set as ’RL’
or ’SON’
allowed-prefix
prefix-list
A list of phone number prefixes
of the sender number which are
accepted to be received by this
service.
b
Multiple entries are
separated with semicolon (’;’).
For example, "91;93" selects this
service for these prefixes. If
denied-prefix is unset, only this
numbers are allowed. If denied is
set, number are allowed if
present in allowed or not in
denied list.
denied-prefix
prefix-list
A list of phone number prefixes
of the sender number which are
NOT accepted to be sent through
this SMSC.
59