Connect Wait 0x0017

SwitchKit Name

ConnectWait

Type

EXS API and SwitchKit API message

Description

Connect Wait 0x0017

This message instructs the CSP to suspend the processing of an incoming call on a channel. This message may be used by the host as a response to the Request for Service message sent by the CSP.

The CSP stops resending the Request for Service message for the channel and waits for a connection management message such as Park Channel, Connect, and so on.

Sent by

Host

SwitchKit Code

C Structure

typedef struct {

unsigned short Span;

UBYTE Channel;

} XL_ConnectWait;

C Structure Response

typedef struct {

unsigned short Status;

unsigned short Span;

UBYTE Channel;

} XL_ConnectWaitAck;

C++ Class

class XLC_ConnectWait : public XLC_OneChannelOutbound {

public:

unsigned short getSpan() const;

void setSpan(unsigned short x);

UBYTE getChannel() const;

};

C++ Class Response

class XLC_ConnectWaitAck : public XLC_AcknowledgeMessage {

public:

unsigned short getStatus() const;

void setStatus(unsigned short x);

unsigned short getSpan() const;

void setSpan(unsigned short x);

UBYTE getChannel() const;

void setChannel(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 (0x00NN)

3, 4

Message Type (0x0017)

3, 4

Message Type (0x0017)

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)

0x1D03 Invalid Channel State: Channel Idle

0x1D09 Invalid Channel State: L3 CLear Wait

Also see Common Response Status Values chapter

Number of AEs to follow

AEs

0x0D Channel

:

Checksum

:

AIB

Same as message

:

Checksum