CPC Detection 0x0047

Call Control API Messages

SwitchKit Name

CPCDetection

Type

EXS API and SwitchKit API message

Description

CPC Detection 0x0047

This message enables or disables the detection of CPC (Calling Party Control), which is needed on FXO/LS channels. CPC is the means by which the calling end notifies the called end that the established connection is no longer needed. In this case, dialtone is used for notification.

This feature can only be activated if the CSP contains an MFDSP or DSP-ONE card with at least one DSP configured for Call Progress Analysis. When CPC is detected, it is reported to the host in a Call Processing Event message.

Sent by

Host

SwitchKit Code

C Structure

typedef struct {

unsigned short Span;

UBYTE Channel;

UBYTE Action;

} XL_CPCDetection;

C++ Class

class XLC_CPCDetection : public XLC_OneChannelOutbound {

public:

unsigned short getSpan() const;

void setSpan(unsigned short x);

UBYTE getChannel() const;

void setChannel(UBYTE x);

UBYTE getAction() const;

void setAction(UBYTE x);

};

 

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 (0x0007)

3, 4

Message Type (0x0047)

3, 4

Message Type (0x0047)

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, 9

Status (MSB, LSB)

10

Checksum

Number of AEs

AEs

0x0D Channel

:

Action
0x01 Enable CPC Detection

0x02 Disable CPC Detection

The default time for receiving valid dialtone is 1.5 seconds before the CSP sends the Call Processing Event field value 0x24 (CPC Detected) to the host. To change this value, use the Call Progress Analysis Pattern Configure message.

:

Checksum