You are here: CSP API Reference > 1 EXS & SwitchKit API Messages > Request For Service 0x0040
SwitchKit Name
Type
EXS API and SwitchKit API message
Description
Request For Service 0x0040
This message is sent to the host when an incoming call is detected. Valid host responses to this message include the following:
Connect
Connect With Pad
Connect One-Way Forced
Connect With Data
Connect Wait
Connect to Conference
Connect One-Way to Conference
Park Channel
Sent by
CSP
Resent
This message is resent once after five seconds.
SwitchKit Code
C Structure
typedef struct {
unsigned short Span;
UBYTE Channel;
UBYTE ResendFlag;
} XL_RequestForService;
C++ Class
class XLC_RequestForService : public XLC_OneChannelMessage {
public:
unsigned short getSpan() const;
void setSpan(unsigned short x);
UBYTE getChannel() const;
void setChannel(UBYTE x);
UBYTE getResendFlag() const;
void setResendFlag(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, MSB (0x00) |
3, 4 |
Message Type, MSB (0x00) |
5 |
Reserved (0x00) |
5 |
Reserved (0x00) |
6 |
Sequence Number |
6 |
Same Sequence Number |
7 |
Logical Node ID |
7 |
Logical Node ID |
8 : |
Address Method 0x00 - Individual AEs |
8 |
AIB |
: |
Checksum |
||
Number of AEs to follow |
|
||
AE |
|||
: |
Resend Flag 0x00 Request for Service is not a resend 0x01 Request for Service is a resend |
||
: |
Checksum |