Parameters (Escape Codes) - Kannel WAP and SMS gateway User Manual

Open source wap and sms gateway
Table of Contents

Advertisement

Variable
suffix
white-list
black-list
Notes:
a. Even if this service is denied, kannel still searches for other service which accepts the message, or
default service.
b. Like in accepted-smsc, kannel still searches for other service which accepts the message. This way
there could be several services with the same keyword and different results.
Table 5-7. Parameters (Escape Codes)
%k
%s
%S
%r
%a
%b
%t
%p
Value
string
URL
URL
the keyword in the SMS request (i.e., the first word
in the SMS message)
next word from the SMS message, starting with
the second one (i.e., the first word, the keyword, is
not included); problematic characters for URLs are
encoded (e.g., '+' becomes '%2B')
same as %s, but '*' is converted to '~' (useful
when user enters a URL) and URL encoding isn't
done (all others do URL encode)
words not yet used by %s; e.g., if the message is
"FOO BAR FOOBAR BAZ", and the has been one
%s, %r will mean "FOOBAR BAZ"
all words of the SMS message, including the first
one, with spaces squeezed to one
the original SMS message, in a binary form
the time the message was sent, formatted as
"YYYY-MM-DD HH:MM", e.g., "1999-09-21
14:18"
the phone number of the sender of the SMS
message
Chapter 5. Setting up a SMS Gateway
Description
Load a list of accepted senders
of SMS messages. If a sender of
an SMS message is not in this
list, any message received from
the SMSC is rejected, unless a
service is defined.
black-list
See notes of phone number
format from numhash.h header
file.
As white-list, but SMS messages
from these numbers are
automatically discarded
62

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

1.3.1

Table of Contents