Toshiba Strata CIX GVPH Programming Manual page 114

Voice processing system
Table of Contents

Advertisement

Token Programming
Defined Tokens
Table 5-3
Defined Tokens (continued)
Token
N( )
Examples
(continued)
Suppose an ASCII file contains a listing of dealers, available parts, and orders on those parts. You
could use the R( ) token to obtain information about how many parts the dealer wants to order and
then use the N( ) token to update the database.
R(G1,%S1,40)
G1
%S1
40
R(G2,%S2,20)
G2
%S2
20
R(G3,%S5,20)
G3
%S5
20
N(ORDERS.DOC,5,%S1,9,%S2,12,%S5)
Timed on-hook—an on-hook condition for the specified amount of time. Depending upon the value of
tenths, you can effect a flash, or even a hang-up condition. This is useful for generating an
intermediate hang-up condition during token processing without terminating the actual continued
token processing.
Syntax
O( )
where:
tenths
Example O(60)
Goes on-hook for 6 seconds (60 ÷ 10 = 6).
5-12
Plays greeting 1: "Please enter your dealer number."
Stores the caller's entry in variable %S1.
Waits 4 seconds (40 ÷ 10 = 4) for DTMF after playing the greeting.
Plays greeting 2: "Please enter the number of telephones you want to order."
Stores the caller's entry in variable %S2.
Waits 2 seconds (20 ÷ 10 = 2) for DTMF after playing the greeting.
Plays greeting 3: "Please enter the number of key systems you want to order."
Stores the caller's entry in variable %S5.
Waits 2 seconds (20 ÷ 10 = 2) for DTMF after playing the greeting.
Searches ORDERS.DOC for the first record that has the value of %S1 in field 5.
Replaces the current value of field 9 with %S2.
Replaces the current value of field 12 with %S5.
Saves the record back to the database.
O(tenths)
Time in tenths of seconds.
Description
Strata CIX40 Voice Processing Programming Manual
7/06

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents