Trunk Type Configure 0x0011

SwitchKit Name

TrunkTypeConfig

Type

EXS API and SwitchKit API message

Description

The message is required only for the T-ONE card. It sets the trunk or line interface protocol for a channel or group of channels. Logical Span IDs must be assigned to channels before this message can be sent.

This should be the first message sent when configuring channels, as any configuration sent before it resets to the defaults for the trunk type specified.

Trunk types define the standard signaling protocol used by a channel or group of channels. The Trunk Type Configure message sets all of the channel configuration to the defaults associated with the trunk type (based on the AT&T publication 43801 and the Bellcore TR-TSY-000506 specifications).

The default trunk type is E&M for T1 spans, and PPL (ITU-T Compelled R2) for E1 spans. Trunk types may be different for each individual channel on a span. This allows applications that require mixed trunk types to reside on the same span.

Configuration associated with each trunk type include the start dial type, signal scanning filters and timers, and transmit signal timers. Any configuration which varies from the defaults must be reissued following the sending of a Trunk Type Configure message.

NOTE: This message cannot be used for channels on a T-ONE or E-ONE line card with the span format set to Clear Channel. If so, a NACK of 0x17 (Invalid Data Type) is returned.

Sent by

Host

SwitchKit Code

Configuration

TrunkTypeConfig (

Node = integer,

Range = StartSpan:StartChan - EndSpan:EndChan,

TrunkType = integer);

C Structure

typedef struct {

unsigned short StartSpan;

UBYTE StartChannel;

unsigned short EndSpan;

UBYTE EndChannel;

UBYTE TrunkType;

} XL_TrunkTypeConfig;

C++ Class

class XLC_TrunkTypeConfig : 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 getTrunkType() const;

void setTrunkType(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 (0x0011)

3, 4

Message Type (0x0011)

5

Reserved (0x00)

5

Reserved (0x00)

6

Sequence Number

6

Same Sequence Number

7

Logical Node ID

7

Logical Node ID

8

:

AIB

Address Method

0x01 - Range

 

8, 9

Status (MSB, LSB)

10

Checksum

Number of AEs to follow

 

AEs

0x0D Channel (Starting)

0x0D Channel (Ending)

:

Trunk Type

0x01 E&M

0x02 FXO Loopstart

0x03 FXS Loopstart

0x04 FXO Groundstart

0x05 FXS Groundstart

0x09 PPL (Programmable Protocol Language)

:

Checksum

 

Start Dial Signaling Defaults

The table below shows the start dial signaling defaults by trunk type:

TRUNK TYPE

START DIAL TYPE

Incoming

Outgoing

E&M

Wink

Wink

FXS-LS

Dialtone

None

FXS-GS

Dialtone

Fixed Pause

FXO-LS

None

Dialtone

FXO-GS

None

Dialtone

Dial Pulse Originating

Wink

Wink

Dial Pulse Terminating

Wink

Wink