Nokia WAP and SMS gateway Manuale Utente

Pagina di 116
Chapter 5. Setting up a SMS Gateway
SendSMS-user configurations
To enable an SMS push, you must set
sendsms-port
into the ’smsbox’ group and define one or more
’sendsms-user’ groups. Each of these groups define one account, which can be used for the SMS push,
via HTTP interface (see below)
Table 5-10. SendSMS-User Group Variables
Variable
Value
Description
group (m)
sendsms-user
This is a mandatory variable
username (m)
string
Name for the user/account.
password (m)
string
Password for the user (see
HTTP interface, below)
name
string
As in ’sms-service’ groups.
user-deny-ip
IP-list
As other deny/allow IP lists, but
for this user (i.e. this user is not
allowed to do the SMS push
HTTP request from other IPs
than allowed ones). If not set,
there is no limitations.
user-allow-IP
IP-list
forced-smsc
string
Force SMSC ID as a ’string’
(linked to SMS routing, see
’smsc’ groups)
default-smsc
string
If no SMSC ID is given with the
send-sms request (see below),
use this one. No idea to use with
forced-smsc.
default-sender
phone-number
This number is set as sender if
not set by
from
get/post
parameter
faked-sender
phone-number
As in ’sms-service’ groups
max-messages
number
concatenation
bool
split-chars
string
split-suffix
string
omit-empty
bool
header
string
footer
string
67