You are here: CSP API Reference > 1 EXS & SwitchKit API Messages > Answer Supervision Mode Configure 0x00BB
Answer Supervision Mode Configure 0x00BB
SwitchKit Name
AnswerSuperviseConfig
Type
EXS API and SwitchKit API message
Description
Use this message to configure the Answer Supervision mode for a channel or range of channels.
The Answer Supervision Mode options are:
Propagate Answer to Distant End
Notify Host of Answer
Propagate Answer to Distant End and Notify Host of Answer
No Answer Supervision - no propagation of answer or notification
Do not send this message for channels configured as the following trunk types: DP0 DPT FX0 loopstart and groundstart (OK to use if the answer supervision mode is 0x00 or 0x03) If you use this message for these trunk types, the Excel platform sends the response Status value "Invalid Data Type" (0x17). |
Sent by
Host
Example Message
(SwitchKit Socket Log Output)
The following socket log output/example message configures the Answer Supervision Mode to propagate answer to distant end for channels 0x00 - 0x17 on spans 0x01 - 0x02.
00 12 00 BB 00 00 FF 01 02 0D 03 00 01 00 0D 03 00 02 17 00
SwitchKit Code
Configuration
AnswerSuperviseConfig (
Node = integer,
Range = StartSpan : StartChan - EndSpan : EndChan,
AnswerMode = integer);
C Structure
typedef struct {
unsigned short StartSpan;
UBYTE StartChannel;
unsigned short EndSpan;
UBYTE EndChannel;
UBYTE AnswerMode;
} XL_AnswerSuperviseConfig;
C++ Class
class XLC_AnswerSuperviseConfig : public XLC_ChanRangeMessage {
public:
unsigned short getStartSpan() const;
void setStartSpan(unsigned short x);
UBYTE getStartChannel() const;
void setStartChannel(UBYTE x);
unsigned short getEndSpan() const;
};
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 (0x00BB) |
3, 4 |
Message Type (0x00BB) |
5 |
Reserved (0x00) |
5 |
Reserved (0x00) |
6 |
Sequence Number |
6 |
Same Sequence Number |
7 |
Logical Node ID |
7 |
Logical Node ID |
: |
Address Method 0x01 - Range
|
8, 9 |
|
Number AEs to follow |
|||
AEs |
|||
|
0x0D Channel (Starting) 0x0D Channel (Ending) |
10 |
Checksum |
: |
Answer Supervision Mode Enter one of the following values: 0x00 Propagate Answer to Distant End (default) 0x01 Notify Host of Answer 0x02 Propagate Answer to Distant End and Notify Host of Answer 0x03 No Answer Supervision No propagation of answer or notification
FX0 Loopstart/FX0 Groundstart The only valid entries for FX0 loopstart and FX0 groundstart are 0x0000 and 0x0003. |
||
: |
Checksum |