You are here: CSP API Reference > 1 EXS & SwitchKit API Messages > Call Control Instructions Query 0x0087
Call Control Instructions Query 0x0087
SwitchKit Name
CallControlInstructionQuery
Type
EXS API and SwitchKit API message
Description
Call Control Instructions Query 0x0087
Use this message to query the preprogrammed inseize and outseize call control instructions on a channel or range of channels. The response lists the instructions using three bytes each for 20 inseize and 20 outseize instructions, even if they are not all configured.
Sent by
SwitchKit Code
C Structure
typedef struct {
unsigned short Span;
UBYTE Channel;
} XL_CallControlInstructionsQuery;
C Structure Response
typedef struct {
unsigned short Status;
UBYTE Data[120];
} XL_CallControlInstructionsQueryAck;
C++ Class
class XLC_CallControlInstructionsQuery : public XLC_OneChannelOutbound {
public:
unsigned short getSpan() const
void setSpan(unsigned short x)
UBYTE getChannel() const
void setChannel(UBYTE x);
};
C++ Class Response
class XLC_CallControlInstructionsQueryAck : public XLC_AcknowledgeMessage {
public:
unsigned short getStatus() const;
void setStatus(unsigned short x);
const UBYTE *getData() const;
UBYTE *getData();
void setData(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 (0xNNNN) |
3, 4 |
Message Type (0x0087) |
3, 4 |
Message Type (0x0087) |
5 |
Reserved (0x00) |
5 |
Reserved (0x00) |
6 |
Sequence Number |
6 |
Same Sequence Number |
7 |
Logical Node ID |
7 |
Logical Node ID |
: |
Address Method 0x00 - Individual AEs |
8, 9 |
|
Number of AEs to follow |
|||
AEs |
|||
: |
Checksum |
10 |
Inseize Instruction 1: Type |
|
11 |
Inseize Instruction 1: Data[0] |
|
12 |
Inseize Instruction 1: Data[1] |
||
: |
: |
||
: |
Inseize Instruction 20: Type |
||
: |
Inseize Instruction 20: Data[0] |
||
: |
Inseize Instruction 20: Data[1] |
||
: |
Outseize Instruction 1: Type |
||
: |
Outseize Instruction 1: Data[0] |
||
: |
Outseize Instruction 1: Data[1] |
||
: |
: |
||
: |
Outseize Instruction 20: Type |
||
: |
Outseize Instruction 20: Data[0] |
||
: |
Outseize Instruction 20: Data[1] |
||
: |
Checksum |