Token Programming
Defined Tokens
11-16
Strata CIX Voice Mail Programming 01/07
S( )
(continued)
length
Maximum number of characters to expect as input on the serial port. If the maximum
number of characters is received, processing continues immediately with whatever
characters that were received placed in the %Sn variable. If this option is omitted, it
defaults to the maximum length of %Sn (128 characters).
termination
List of characters that defines when Stratagy ES should stop reading from the serial
port for storing in the specified %Sn variable. If omitted, defaults to “\N\R” as specified
under “S”. The terminating character, if any, is not part of %Sn.
timeout
Maximum time (tenths of seconds) Stratagy ES waits for input on the serial port when
reading into the %Sn variable. When the timeout expires, Stratagy ES continues
processing with the next token. Whatever characters, if any, received up to that point are
placed in the %Sn variable. If this option is omitted, the default is the value of the
Stratagy ES System Configuration parameter
sys_tmo_serial
(
Example
S(1,”GET INFO”,%S1,”\N”,80,40)
where:
1
Logical serial port.
”GET INFO” String sent out of port by Stratagy ES.
%S1
Store response in %S1 variable.
\N
Newline (Line feed)
80
Maximum number of characters expected as input from serial port.
40
Four-second time out waiting for input from serial port.
T( )
Transmit fax–performs fax transmissions to either a specified telephone number or to a connected
call. For a two-call fax back, use the two-option syntax. For a one-call fax on demand, use the three-
option syntax.
Note
This token is not currently supported.
If Stratagy ES has a free fax port available, transmission begins shortly on that port. Otherwise, the
request will be queued for transmission along with any other such requests. Normally you will install
your fax software so that if a transmission fails (for instance, if the remote fax is busy), then the
request will be retried automatically at a later time, up to a maximum number of retries.
Syntax
T(file,string)
T(file,"",tokens)
where:
file
File name of the fax you want to transmit. Valid DOS file name.
string
DTMF digits representing the telephone number to dial to connect to the fax device that
accepts the transmission. It can contain %S storage variables. If it is the empty string,
i.e., ””, then Stratagy ES waits until a call rings into the fax port.
""
Empty string. Stratagy ES implements the defined tokens.
tokens
Stratagy ES implements the defined tokens to transfer the call to the Stratagy ES so fax
transmission can begin. Typically it would be P(G1), which plays greeting 1: “Start your
fax machine at the tone.”
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: ......