Call Progress Analysis Result 0x0034

SwitchKit Name

CPAResult

Type

EXS API and SwitchKit API message

Description

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

Sent by

Excel platform

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

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

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

:

Reserved (0x00)

:

Reserved (0x00)

:

Reserved (0x00)

:

Checksum