Kannel WAP and SMS gateway User Manual page 65

Open source wap and sms gateway
Table of Contents

Advertisement

Variable
keyword (m)
aliases
name
get-url (c)
post-url (c)
post-xml (c)
file (c)
Value
word
word-list
string
URL
URL
URL
filename
Chapter 5. Setting up a SMS Gateway
Description
Services are identified by the
first word in the SMS Each '%s'
in the URL corresponds to one
word in the SMS message.
Words are separated with spaces.
A keyword is matched only if the
number of words in the SMS
message is the same as the
number of '%s' fields in the
URL. This allows you to
configure the gateway to use
different URLs for the same
keyword depending on the
number of words the SMS
message contains.
If the service has aliases, they
are listed as a list with each entry
separated with a semicolon (';')
Optional name to identify the
service in logs. If unset,
is used.
keyword
Requested URL. The url can
include a list of parameters,
which are parsed before the url is
fetched. See below for these
parameters. Also works with
plain 'url'
Requested URL. As above, but
request is done as POST, not
GET. Always matches the
keyword, regardless of pattern
matching. See notes on POST
otherwhere.
Requested URL. As above, but
request is done as XML POST.
Always matches the keyword,
regardless of pattern matching.
See notes on POST otherwhere
and XML Post
File read from a local disc. Use
this variable only if no
All escape codes (parameters) in
are supported in filename.
url
The last character of the file
(usually linefeed) is removed.
is set.
url
58

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

1.3.1

Table of Contents