Toshiba Strata CIX 开发者指南
Token Programming
Replaced or Variable Tokens
11-4
Strata CIX Voice Mail Programming 01/07
Replaced or Variable Tokens
Replaced or Variable Tokens are specified with a preceding
%
sign and cause Stratagy ES to replace
the token given with the value associated with the token. For example, The token
%M
would be
replaced with the current number of messages for the current mailbox being accessed.
Important!
All tokens must be capitalized. Tokens entered in lower case are ignored.
Table 11-2
Replaced Tokens
Token
Description
%%
Substitute a %.
%C
Replaces with the current port number.
Syntax
%C
%D
Hard drive space remaining–replaces itself with the value that represents the percent of free hard
drive space at the time it is used.
drive space at the time it is used.
Syntax
%D
Example
P(%D,N)
Says (plays) the percentage of free hard drive space as a number.
%E
Extension
field–replaces with the contents of the current mailbox’s Extension field.
Syntax
%E
%F
Mailbox’s Directory Name 1, Directory Name 2, or Comment field–replaces with the contents of the
Users Mode Options screen’s Directory Name 1, Directory Name 2, or Comment field for the mailbox.
Users Mode Options screen’s Directory Name 1, Directory Name 2, or Comment field for the mailbox.
Syntax
%F(n[,uid])
where:
n
Number representing one of the following Users Menu fields.
1
1
Directory Name 1
2
Directory Name 2
3
Comment
uid
Valid mailbox. Defaults to current mailbox if not specified.
Example
%F(3)
Replaces with the contents of the Users Mode Options screen’s Comment field for the current
mailbox.
mailbox.
%K
Value held in the Calling Party ID buffer.
Syntax
%K
%M
Number of messages–replaces with the total number of messages for the current mailbox.
Syntax
%M
%N
Number of new messages–replaces with the number of new messages for the current mailbox.
Syntax
%N