PCM Encoding Format Configure 0x00D9

SwitchKit Name

PCMEncodingConfig

Type

EXS API and SwitchKit API message

Description

PCM Encoding Format Configure 0x00D9

This message allows the host to set the PCM (pulse code modulation) encoding format of a channel to A-law or µ-law on T1 or E1 spans.

If an A-law encoded channel is connected to a µ-law encoded channel, the CSP performs the necessary conversion between the two channels to allow the appropriate voice data to be transmitted to both listeners.

Channels on E1 line cards default to A-law encoded format.

When you configure SS7 with an ANSI stack over an E1 Card, you must send the PCM Encoding Format Configure message with the PCM encoding format set to A-law after you send the SS7 Signaling Stack Configure (0x5C) message. The SS7 Signaling Stack Configure message overwrites the PCM Encoding Format Configure message.

Channels on T1 line cards default to µ-law encoded format.

When you configure SS7 with an ITU stack over a T1 Card or you configure Euro-ISDN over T-1, you must send the PCM Encoding Format Configure message with the PCM encoding format set to µ-law after you send the SS7 Signaling Stack Configure or the ISDN Interface Configure (0x60) messages. The ISDN Interface Configure message overwrites the PCM Encoding Format Configure message.

Occasionally, as in the case of a raw 8-bit data pipe connection, encoding conversion must be disabled. To do so, use this message to set both sides of the connection to the same PCM encoding format and no conversion will be performed.

Sent by

Host

SwitchKit Code

Configuration

PCMEncodingConfig (

Node = integer,

Range = StartSpan:StartChan - EndSpan:EndChan,

Format = integer);

C Structure

typedef struct {

unsigned short StartSpan;

UBYTE StartChannel;

unsigned short EndSpan;

UBYTE EndChannel;

UBYTE Format;

} XL_PCMEncodingConfig;

C++ Class

class XLC_PCMEncodingConfig : public XLC_ChanRangeMessage {

public:

unsigned short getStartSpan() const;

void setStartSpan(unsigned short x);

UBYTE getStartChannel() const;

void setStartChannel(UBYTE x);

unsigned short getEndSpan() const;

void setEndSpan(unsigned short x);

UBYTE getEndChannel() const;

void setEndChannel(UBYTE x);

UBYTE getFormat() const;

void setFormat(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 (0xNNNN)

1, 2

Length (0x0007)

3, 4

Message Type (0x00D9)

3, 4

Message Type (0x00D9)

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 Method

8, 9

Status MSB, LSB

10

Checksum

Number of AEs to follow

AEs

0x0D Channel (Starting)

0x0D Channel (Ending)

:

Format

0x01 µ-law encoded PCM (North America & Japan)

0x02 A-law encoded PCM (Europe)

:

Checksum