6-2
Cisco ATA 186 and Cisco ATA 188 Analog Telephone Adaptor Administrator’s Guide for H.323 (version 3.0)
OL-4804-01
Chapter 6 Call Commands
Syntax
Syntax
The
CallCmd
string has the following structure:
Context-Identifier
Command . . . Command; . . . Context-Identifier Command;
•
Table 6-1
provides a list of Context-Identifiers, which show the state of the Cisco ATA.
•
Command
consists of the following items:
Input-Sequence; Action-Identifier-1 Action-Identifier-2
[Input-Sequence]
–
Input Sequence
consists of one or more characters from the set shown in
Table 6-2
.
–
Table 6-3
provides a list of Action Identifiers.
Action-Identifier-1
is for the first thread of a
call;
Action-Identifier-2
is for the second thread of a call. Each Action Identifier is one
character.
Each Context-Identifier is followed by one or more commands to allow a variable number of actions to
be triggered by relevant user input commands for any state. Each command is composed of an
Input-Sequence that the user enters when the Cisco ATA is in a given state and two Action-Identifier
characters which define the action that the Cisco ATA performs in response to the Context-Identifier and
Input-Sequence. If the Cisco ATA takes only one action, one of the two Action-Identifier characters is
a null action.
Example 6-1
Syntax Example Using One Command
Af;AH;
In this simple example, the first “A” is the Context-Identifier, which means the Cisco ATA is in the
CONFERENCE state, as shown in
Table 6-1
. The “f” is the input sequence, which is hook-flash, as
shown in
Table 6-2
. Following the semicolon, the two action identifiers are “A” and “H”. These
identifiers mean “NONE” and “Disconnect the call,” respectively, as shown in
Table 6-3
. Based on these
action identifiers, the Cisco ATA disconnects the most recent callee, and remains connected to the first
party. The state of the Cisco ATA becomes CONNECTED.
Table 6-4
explains more about the various
states of the Cisco ATA.
Example 6-2
Syntax Example Using Two Commands
CN;CAf;OF;
In this example, the first “C” is the Context Identifier, which means the Cisco ATA is in the
PREDIAL_HOLDING state, as shown in
Table 6-1
. The “N” is the first input sequence, which is any
part of the set of digits 0|1|2|3|4|5|6|7|8|9, as shown in
Table 6-2
. Following the first semicolon, the two
action identifiers are “C” and “A”, which mean “Continue to Dial” and “NONE,” respectively, as shown
in
Table 6-3
.
Following this pair of action identifiers is another input sequence, “f”, which means hook-flash, as
shown in
Table 6-2
. Next is the semicolon, always required after the input sequence, followed by the
corresponding action pair, “O” and “F”. These identifiers mean “Release the Call” and “Retrieve the
Call,” respectively, as shown in
Table 6-3
.