You are here: CSP API Reference > 1 EXS & SwitchKit API Messages > CPC Detection 0x0047

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

Setting up, monitoring, and tearing down calls.
See Loop Start.
Digital Signal Processor
A computer, attached to the Excel platform through an RS-232 or Ethernet link, from which you run the telecommunications application that controls the Excel platform.
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.
Most Significant Bit
Least Significant Bit