Token Programming
Defined Tokens
7-12
Stratagy I&M 06/02
M( )
Audiotex menu—the M( ) token enables you to specify fast single-digit entry for audiotex menu
selections. While Stratagy processes this token, it plays (or says) the specified greeting while waiting
for a single DTMF digit to be pressed by the caller. When the caller presses the single DTMF digit,
Stratagy looks up the menu selection that matches and continues processing at the specified User ID.
Therefore, this eliminates the normal delay for determining completed DTMF entry.
Note While this Token is active, no other digits, except the defined menu selections, is recognized.
Syntax
M(Gn,count,delay)
where:
Gn
User ID’s greeting number (range: 1~7).
count
Number of times to play the greeting.
delay
Time (in 10ths of seconds) to wait after each saying of the greeting.
Example
M(G1,2,20)
Plays greeting 1 up to two times with a 2 second delay after each time the greeting plays, waiting for
the caller to press a DTMF.
•
If the caller presses 5, Stratagy immediately continues processing at the User ID specified in the
Menu 5 field.
•
If the caller makes no selection, Stratagy continues processing at the next token.
•
If the caller makes an invalid selection, Stratagy continues processing at the Done chain.
N( )
Update database record—the N( ) token enables you to update the values of a database record. It
searches a file for the first record that has s-value in s-field. It updates the record by placing n-value in
r-field, and then saves that record back to the database.
Syntax
N(file,s-field,s-value,r-field,n-value[,r-field,
n-value...])
where:
file
dBase file (.DBF) or ASCII file with columns separated by commas (comma delimited).
Valid DOS file name. Can be a variable.
s-field
Search dBase file field name or ASCII file column number. (1 is the value of the field
before the comma.) Can be a variable.
s-value
Search alphanumeric string. Can contain %S variables.
r-field
Replacement dBase file field name or ASCII file column number to update.
n-value
New alphanumeric string. Can contain %S variables.
Table 7-3
Defined Tokens (continued)
Token
Description
Содержание Stratagy Flash
Страница 20: ...Contents Index viii Stratagy I M 06 02 ...
Страница 24: ...Introduction Related Documents Media xii Stratagy I M 06 02 ...
Страница 52: ...Installation Step 16 Optional Back up Database Mailbox Names and Greetings 2 18 Stratagy I M 06 02 ...
Страница 102: ...Configure Stratagy SMDI Serial Integration 4 38 Stratagy I M 06 02 ...
Страница 204: ...Customization Examples Auto Menu Examples 8 28 Stratagy I M 06 02 ...
Страница 214: ...AMIS Networking AmisNodeList 9 10 Stratagy I M 06 02 ...
Страница 222: ...System Reports Report Menu Field Descriptions 10 8 Stratagy I M 06 02 ...
Страница 250: ...Special Greeting User ID Mailboxes Operator Mailbox Greeting B 6 Stratagy I M 06 02 ...