Chapter 6 Call Commands

Syntax

Syntax

The CallCmd string has the following structure:

Context-Identifier Command . . . Command; . . . Context-Identifier Command;

Table 6-1provides 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-3provides a list of Action Identifiers. Action-Identifier-1is for the first thread of a call; Action-Identifier-2is 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-4explains 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 0123456789, 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.

Cisco ATA 186 and Cisco ATA 188 Analog Telephone Adaptor Administrator’s Guide (SIP)

6-2

OL-3410-01

 

 

Page 122
Image 122
Cisco Systems ATA186I2ARF manual Syntax, CallCmd string has the following structure