Token Programming
Defined Tokens
11-20
Strata CIX Voice Mail Programming 01/07
+( )
Addition–enables you to perform modifications to values for calculation and control. Ideal for
controlling limits and loops.
Syntax
+(%Sn[,item])
where:
%Sn
One of the %S storage variables (range: 0~19).
item
Positive or negative value or another %S variable. Defaults to 1 if not specified.
=( )
Equate–gives the specified storage variable the value specified. The value may be a sting or a
numeric and should be quoted. The four-option syntax enables substring assignments.
Syntax
=(%Sn,item)
=(%Sn,item,start,end)
where:
%Sn
One of the %S storage variables (range: 0~19).
item
Any alphanumeric string. Can contain %S variables.
start
Starting character position for assigning a portion of item.
end
Ending character position to assign when used with start.
Examples
=(%S1,"FRENCH")
Gives %S1 the value of “FRENCH”.
=(%S1,"FRENCH",3,5)
Gives %S1 the value of ENC (E is the
start
character and C is the
end
character).
=(%S1,%S2,1,3)
where %S2 = 7530414. Extracts prefix of the telephone number in %S2 (the first through third
number) and gives %S1 the value of 753.
?( )
Exists in file–searches the specified file for the specified item. Stratagy ES searches the file on a
line-by-line basis and the item is found when it matches an entire line within the file. If the item is
found, processing continues at the mailbox specified; if not, processing continues with the next token.
One use of this token is to control the use of a fax-on-demand feature (not currently supported). If you
find that someone is having a document faxed repeatedly to a phone number (perhaps the phone
number of someone who does not want your fax), you can enter such numbers into a file, then
program Stratagy ES to check an entered fax number against those in the file and, if found, branch to
a mailbox which plays a greeting saying that the entered phone number is invalid and then hang up. If
the entered number were not found in the file, then processing would continue normally and the fax
would be sent to the requester.
Note
Use two backslashes \\ to signify one backslash \. For example, to specify the file name
C:\Stratagy ES\NEW.TXT, use C:\\Stratagy ES\\NEW.TXT.
Syntax
?(item,fsile,uid)
where:
item
Any alphanumeric string. Can contain %S variables.
file
ASCII text file specified by a DOS file name. Can be a variable.
uid
Valid mailbox.
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: ......