Toshiba Stratagy 4 Installation And Maintenance Manual page 176

Hide thumbs Also See for Stratagy 4:
Table of Contents

Advertisement

STRATAGY
4/6/24
INSTALLATION
AND
MAINTENANCE
MANUAL
SEPTEMBER
1994
TOKEN
1
FUNCTION
1
Defined
Tokens
(continued)
DEFINITION
R( )
Read DTMF from
Syntax:
R(Gn,%Sm,de/ay)
a caller.
Where:
Gn Greeting number for the current User ID (range 1 - 7).
%Sm
One of the %S storage variables (range: 0 - 9).
delay
Time in tenths of seconds to wait for DTMF after
playing the greeting (range: 0 - 99). If omitted,
defaults to 0.
Description:
The R( ) token
allows 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 allows the caller
to make DTMF entry which is stored in the specified %S variable.
Stratagy interrupts the greeting as soon as the caller enters the first
DTMF tone. If there is no caller DTMF entry, Stratagy initializes the %S
variable to empty, i.e., "'I.
Example:
To prompt and have a caller enter a telephone
number and
have Stratagy store that telephone
number to be used later, you could:
n Record in greeting 1: "Enter your telephone
number. Finish by
pressing the # sign."
n Use R(GI ,%S6,20), which:
l
Plays greeting 1.
l
Stores the caller's entry in variable %S6.
l
Waits 2 seconds (20 + 10 = 2) for DTMF after playing the
greeting.
S( )
Serial port access.
Syntax:
S(port, "9, %Sn, "termination",length,
timeout)
Where:
port
Logical serial port (1 or 2) mapped onto a physical
port number
by the Setup Utility configuration
option
serial-port1
for logical port 1 or serial-port2for
logical
port 2 (Section
2, /nsta//ation).
"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 - 9), which
stores any response from the serial port. If omitted,
Stratagy will not wait for a response.
"termination
" List of characters that defines when Stratagy should
stop reading from the serial port for storing in the
specified %Sn variable. If omitted, defaults to "IN\R"
as specified under "S'. The terminating
character,
if
any, will not be pat-t of %Sn.
*Tm".tNSIzo
Table 6-2
Token Programming
Language
Tokens (continued)
6-l 0

Advertisement

Table of Contents
loading

This manual is also suitable for:

Stratagy 6Stratagy 24

Table of Contents