Release Channel 0x0008

SwitchKit Name

ReleaseChannel

Type

EXS API and SwitchKit API message

Description

Use this message to initiate the release of a single channel or a connected pair of channels. The host receives a Channel Released message when the distant-end releases.

To release only one channel, enter the channel in both the Logical Span ID and Channel fields. The other connected channel is parked.

Sent by

Host

SwitchKit Code

C Structure

typedef struct {

unsigned short SpanA;

UBYTE ChannelA;

unsigned short SpanB;

UBYTE ChannelB;

} XL_ReleaseChannel;

C++ Class

class XLC_ReleaseChannel : public XLC_OutboundMessage {

public:

unsigned short getSpanA() const;

void setSpanA(unsigned short x);

UBYTE getChannelA() const;

void setChannelA(UBYTE x);

unsigned short getSpanB() const;

void setSpanB(unsigned short x);

UBYTE getChannelB() const;

void setChannelB(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 (0x0008)

3, 4

Message Type (0x0008)

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

 

8, 9

Status (MSB, LSB)

Number of AEs to follow

10, 11

State (MSB, LSB)

If the preceding Status field is a positive acknowledgement, this field does not apply.

AEs

 

0x0D Channel A

or

0x0D Channel B

 

Specify either Channel A or Channel B whichever channel did not initiate the release. You must specify the channel twice.

12

Checksum

:

Checksum

 

Response Status

 

Call State

Excel platform Call Control CH Values

Out-of-Service

0x00 Out-of-Service

Idle

0x03 In Service Idle

Connect Wait

0x04 Incoming Call, Wait for L5

Book Wait

0x06 Wait For CSA in Incoming Call Wait for Host State

0x01 Incoming Call

Answer Wait 2

0x0E Incoming Call Alerted

Connect

0x07 Answered

0x02 Wait For CSA in Incoming Call State

0x0C Wait for CSA in Incoming Alerted State

0x0D Wait for CSA in Incoming in Answered State

Clear Wait

0x09 L3 Clear Wait

0x0F L3 Clear Wait

Busied Out

0x0A Busied out

0x10 Wait for CSA in Outgoing Cut-thru

Release With Data Wait

0x15 L5 Release Wait

Outseize Wait

0x05 Outgoing Call, L3 Outseize Wait

Parked

0x13 Outgoing Call Alerted

0x11 Wait for CSA in Outgoing Alerted State

Outseized

0x0B Outgoing Call Cut-thru

0x12 L4 Clear ACK Wait, L3 Clear Received

Release Wait

0x08 L4 Clear ACK Wait, L3 Disconnect Received

0x14 L4 Clear ACK Wait, L5 Clear Received

0x16 Incoming Call, L4 Clear ACK Wait (Park Processing)

0x17 Incoming Call Alerted, L4 Clear ACK Wait (Park Processing)

0x18 Answered, L4 Clear ACK Wait (Park Processing)

0x19 Outgoing Alerted, L4 Clear ACK Wait (Park Processing)

Call State

Excel platform Call Control CH Values

0x1A Outgoing Cut-thru, L4 Clear ACK Wait (Park Processing)

0x1B Wait for CSA for Internal Routing