6-2
Cisco ATA 186 and Cisco ATA 188 Analog Telephone Adaptor Administrator’s Guide H.323
OL-4008-01
Chapter6 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 CiscoATA.
Command consists of the following items:
Input-Sequence; Action-Identifier-1 Action-Identifier-2 [Input-Sequence]
Input Sequence consists of one or more characters fro m the set shown in Tab le 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.
Example6-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 CiscoATA 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.
Example6-2 Syntax Example Using Two Commands
CN;CAf;OF;
In this example, the first “C” is the Context Identifier, which means the CiscoATA 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 Tab le 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.