You are here: CSP API Reference > 1 EXS & SwitchKit API Messages > Call Progress Analysis Result 0x0034

Call Progress Analysis Result 0x0034

SwitchKit Name

CPAResult

Type

EXS API and SwitchKit API message

Description

Call Progress Analysis Result 0x0034

The CSP sends this message to report the result of Call Progress Analysis on a channel. Only one result is reported per message.

Sent by

CSP

SwitchKit Code

C Structure

typedef struct {

unsigned short Span;

UBYTE Channel;

UBYTE Result;

UBYTE Diag1;

UBYTE Diag2;

UBYTE Diag3;

} XL_CPAResult;

C++ Class

class XLC_CPAResult : public XLC_OneChannelMessage {

public:

unsigned short getSpan() const;

void setSpan(unsigned short x);

UBYTE getChannel() const;

void setChannel(UBYTE x);

UBYTE getResult() const;

void setResult(UBYTE x);

UBYTE getDiag1() const;

void setDiag1(UBYTE x);

UBYTE getDiag2() const;

void setDiag2(UBYTE x);

UBYTE getDiag3() const;

void setDiag3(UBYTE x);

};

Resent in EXS API

This message is resent once after five seconds.

EXS API Hex Format

MESSAGE (White) | RESPONSE (Gray)
Byte | Field Description | Byte | Field Description
0 | Frame (0xFE) | 0 | Frame (0xFE)
1, 2 | Length (0x00NN) | 1, 2 | Length (0x0005)
3, 4 | Message Type (0x0034) | 3, 4 | Message Type (0x0034)
5 | Reserved (0x00) | 5 | Reserved (0x00)
6 | Sequence Number | 6 | Same Sequence Number
7 | Logical Node ID | 7 | Logical Node ID
: | AIB Address Method 0x00 - Individual AEs | 8 | Checksum
Number of AEs to follow
AE 0x0D Channel
: | Call Progress Analysis Result 0x01 Ringback * 0x02 Double Ringback 0x03 Busy 0x04 Reorder 0x05 PBX Intercept 0x06 SIT Intercept A 0x07 Vacant Code 0x08 Reorder-LEC 0x09 No Circuit-LEC 0x0A Reorder-Carrier 0x0B No Circuit-Carrier 0x0C PBX Dialtone 0x0D Standard Dialtone 0x13 Fax Tone Detected 0x14 2100 Hz Detection 0x80 Answer 0x81 Reserved 0x82 Continuously On Tone 0x83 Initial Silence Timeout 0x84 Not Determined Timeout 0x85 Determined Timeout 0x86 Answer determined through line signaling 0x87 Reserved * Ringback is detected on the fourth cycle of ringback/silence
: | Reserved (0x00)
: | Reserved (0x00)
: | Reserved (0x00)
: | Checksum

Range of channels provided by T1 or E1 transmission service. A physical span is a group of channels taking up a single physical wire. A logical span is a group of channels taking up less than a single logical wire, or carried over more than one physical wire.
A group of data bits in a specific format, with a flag at each end to indicate the beginning and the end of the frame.
See Address Information Block.
See Private Branch Exchange.
Hertz