Running Sms Gateway; Using The Http Interface To Send Sms Messages; Sms Push (Send-Sms) Cgi Variables - Kannel WAP and SMS gateway User Manual

Open source wap and sms gateway
Table of Contents

Advertisement

accepted-smsc = B
get-url = "..."
As can be seen, the
denied-smsc-id
sent through the other one. Finally 'sms-service' groups are defined with
only accept messages from certain SMS center.
If you want to use SMS push services, requesters should then set the
'sendsms-user' groups should be defined like this:
group = sendsms-user
username = operator_A
password = foo
forced-smsc = A
group = sendsms-user
username = operator_B
password = bar
forced-smsc = B
Note that if your SMS centers do not set the sender phone number but rely on number transmitted, you
should set
faked-sender

Running SMS gateway

Using the HTTP interface to send SMS messages

After you have configured Kannel to allow the sendsms service, you can send SMS messages via HTTP,
e.g., using a WWW browser. The URL looks something like this:
http://smsbox.host.name:13013/cgi-bin/sendsms?
username=foo&password=bar&to=0123456&text=Hello+world
Thus, technically, you make an HTTP GET request. This means that all the information is stuffed into
the URL. If you want to use this often via a browser, you probably want to make an HTML form for this.
Table 5-15. SMS Push (send-sms) CGI Variables
(or
username
is used to identify the SMS center from which the message came. Then, the
smsc-id
variable is used to prevent messages originally from the other SMS center from being
to all 'sendsms-user' groups.
)
user
string
Chapter 5. Setting up a SMS Gateway
so that they
accepted-smsc
request parameter, or
smsc
Username or account name.
Must be
of the one
username
'sendsms-user' group in the
Kannel configuration, or results
in 'Authorization failed' reply.
76

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

1.3.1

Table of Contents