Token Programming
Defined Tokens
Strata CIX Voice Mail Programming 01/07
11-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
mailbox and enables the caller to make DTMF entry which is stored in the specified %S variable.
Stratagy ES interrupts the greeting as soon as the caller enters the first DTMF tone. If there is no
caller DTMF entry, Stratagy ES initializes the %S variable to empty, i.e., ””.
Syntax
R(Gn,%Sm,delay)
where:
Gn
Greeting number for the current mailbox (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 Stratagy ES 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( )
Serial port access–the
S( )
token gives Stratagy ES access to serial ports. By communicating over
serial ports, Stratagy ES can access other computers and store and/or retrieve information from
remote databases.
Once an
S( )
token has been executed, the serial port is locked for exclusive access by the current
mailbox. The lock is removed only when Stratagy ES finishes executing the mailbox's
Extension
field.
This enables several related
S( )
tokens to be executed while the port is locked.
To properly use this token, the physical serial port must have certain configuration parameters
defined. These parameters are grouped together under “Serial Port Descriptions” of the Stratagy ES
System Configuration options (
Chapter 3 — Voice Mail Configuration
Syntax
S(port,S,%Sn,termination,length,timeout)
where:
port
Logical serial port (1 or 2) mapped onto a physical port number by the Stratagy ES
System Configuration parameter
serial_port1
for logical port 1 or
serial_port2
for logical
port 2 (
Chapter 3 — Voice Mail Configuration
).
S
String sent out on the specified port. It may contain any alphanumeric characters, %S
variables, and the following special characters:
\A
Attention (bell sound), or Ctrl+G
\N
Newline, or Ctrl+J
\R
Return, or Ctrl+M
\T
Tab, or Ctrl+I
\\
Backslash, the actual \ character
%Sn
One of the %S storage variables (range: 0~19), which stores any response from the
serial port. If omitted, Stratagy ES does not wait for a response.
Table 11-3
Defined Tokens
(continued)
Token
Description
Summary of Contents for STRATA CIX
Page 1: ...Strata CIX Programming Manual Volume 2 Stratagy ES Voice Mail Application Release 5 ...
Page 16: ...This page is intentionally left blank ...
Page 40: ...This page is intentionally left blank ...
Page 138: ...This page is intentionally left blank ...
Page 140: ...This page is intentionally left blank ...
Page 170: ...This page is intentionally left blank ...
Page 176: ...This page is intentionally left blank ...
Page 216: ...This page is intentionally left blank ...
Page 230: ...This page is intentionally left blank ...
Page 238: ...This page is intentionally left blank ...
Page 247: ...THIS IS THE LAST PAGE OF THE DOCUMENT ...
Page 248: ......