Token Programming
Defined Tokens
Strata CIX40 Voice Processing Programming Manual 7/06
5-15
T
o
k
e
n Pro
g
ra
mmi
ng
R( )
Read DTMF from a caller—the
R( )
token enables you to obtain caller information while prompting
the caller with the specified recorded greeting. The token plays the greeting specified for the current
User ID and enables the caller to make DTMF entry which is stored in the specified %S variable.
Voice processing interrupts the greeting as soon as the caller enters the first DTMF tone. If there is no
caller DTMF entry, voice processing initializes the %S variable to empty, i.e., ””.
Syntax
R(Gn,%Sm,delay)
where:
Gn
Greeting number for the current User ID (range 1~7).
%Sm
One of the %S storage variables (range: 0~19).
delay
Time in tenths of seconds to wait for DTMF after playing the greeting (range: 0~99). If
omitted, defaults to 0.
Example
To prompt and have a caller enter a telephone number and have voice processing store that
telephone number to be used later, you could:
Record in greeting 1: “Enter your telephone number. Finish by pressing the # sign.”
Use
R(G1,%S6,20):
G1
Plays greeting 1.
S6
Stores the caller’s entry in variable %S6.
20
Waits 2 seconds (20
÷
10 = 2) for DTMF after playing the greeting.
S( )
Used only for turning on/off MW LED lights
Syntax
S(port,S)
where:
port
Logical serial port 1 (set and cannot be changed)
S
String sent out on the specified port. It may contain any alphanumberic characters, %S
variables.
Table 5-3
Defined Tokens
(continued)
Token
Description
Содержание Strata CIX GVPH
Страница 10: ...This page is intentionally left blank ...
Страница 102: ...This page is intentionally left blank ...
Страница 122: ...This page is intentionally left blank ...
Страница 144: ...This page is intentionally left blank ...
Страница 152: ...This page is intentionally left blank ...
Страница 176: ...This page is intentionally left blank ...
Страница 184: ...This is the last page of the document ...