Toshiba Strata CIX Developer's Guide

Page of 248
Token Programming
Defined Tokens
Strata CIX Voice Mail Programming    01/07
11-7
T
o
k
e
n Pro
g
ra
mmi
ng
Defined Tokens
Defined Tokens are expressed with left and right parentheses surrounding one or more definitions 
that determine how the token should work. For example, the Goto token 
G( )
 only takes one 
definition. Stratagy ES immediately “goes to” the mailbox specified for processing. For G(123), 
Stratagy ES continues processing at Mailbox 123.
Strings that contain a space, comma or quotes, must be enclosed with quotes (e.g., “9,%S1”) or 
Stratagy ES may misread the token.
Important!
All tokens must be capitalized. Tokens entered in lower case are ignored.
Table 11-3
Defined Tokens 
Token
Description
G( )
Go to mailbox–immediately continues processing at the mailbox specified. Stratagy ES continues 
standard processing at the mailbox per the mailbox processing diagram.
Syntax
G(uid)
where:
uid
 mailbox
Example
G(299)
Goes to Mailbox 299.
H( )
Hang-up process–defines the specified uid as the uid that Stratagy ES processes when it detects a 
hang-up condition. This is useful for performing cleanup and/or exit routines when a caller hangs up.
Syntax
H(uid)
where:
uid
Valid mailbox
I( ) 
If
 conditional–if the relationship between the first string and the second string is true, then continue 
processing at the mailbox specified by uid. Otherwise, processing continues with the next token.
Syntax
I(string,relationship,string,uid)
where:
string
Any quoted set of characters, numbers, and/or variables.
relationship Either >, <.=,! which test for greater than, less than, equal, or not equal.
uid
Valid mailbox. Can be a variable.
Examples
I("111",<,"222",1000)
Immediately continues processing at Mailbox 1000.
I("111",>,"222",1000)
Does not continue processing at Mailbox 1000 and instead continues with the next token.
I("%S1",=,"1234",2000)
Continues processing at Mailbox 2000 only if %S1 has the value 1234.
I("%S1",=,"SPANISH",2000)
Continues processing at Mailbox 2000 only if %S1 = SPANISH.