TSP Edge User’s Manual
40-400-00065, Rev. E
103
Start and Stop Timer
The
Start Timer
and
Stop Timer
commands allow a script to control delays or
durations of events, or to provide a maximum timeout while waiting for an event.
Timings may be defined within the script, or may use the timings within the template
assigned when running the script. Two timers are provided. Typical operation is to
start the timer, and then use a
Wait for Event(s)
with the
Timer x Expired
option
selected to wait for the timer to complete.
Request Control #
The
Request Control #
command allows branching within a script based upon
numbers stored in a text file. Each time a
Request Control #
command is executed
from any channel in the same control set, it retrieves the next number in the file. Each
time the control set is started, the file is reset to the beginning.
The files containing the list of numbers must be standard text files with one number
string per line. The numbers can range from 0 to 99.
If any other characters are found, only the valid characters up to the first invalid
character is used. This allows for comments to be added to the right of the numbers in
the file.
Lines with no valid number are automatically skipped.
If a line contains the word “Restart”, the file is reset to the beginning.
After executing this command, a
Wait for Event(s)
should be executed with the
Request for Control Number Completed
option selected. This should be followed by
If
and/or
Else If
commands with
Request For Control Number Completed
selected to
test for a specific Number Received or End of Number List Found.
Line States
The Line States commands are used to define the call progress signaling of calls.
Within scripting, a channel may signal another channel, which is always designated
as the route channel. Route channels are specified either by being designated as one
channel in a channel pair programmed in the control set (static assignment, equivalent
to a Switch Emulation control set), or dynamically by being a channel that is dialed
by another channel (as in the Dialed control set type).
There are two means for channels to communicate, the
Signal Route Channel
and
Post Current State
commands. The following describes these commands and all
others found on the Line States tab. See Sample Scripts for examples using these
commands.
Содержание TSP Edge
Страница 1: ...TSP Edge User s Manual 40 400 00065 Rev E ...