You are here: CSP API Reference > 1 EXS & SwitchKit API Messages > D Channel Assign 0x00C4
SwitchKit Name
DChannelAssign
Type
EXS API and SwitchKit API message
Description
This message assigns a channel as an ISDN PRI or an ISDN Series 3
D channel or a subrate channel as an ISDN BRI channel. ISDN channels can be assigned as either primary or secondary.
Sent by
SwitchKit Code
Configuration
In the configuration below you can replace:
PriDChannelSpanID = integer,
PriDChannel = integer,
with
SecondaryDChannelSpanID = integer,
SecondaryDChannel = integer,
DChannelAssign (
Node = integer,
Slot = integer,
PriDChannelSpanID = integer,
PriDChannel = integer,
SecondaryDChannelFacility = integer,
DChannelType = integer,
C Structure
typedef struct {
UBYTE AddrInfo[30];
UBYTE SecondaryDChannelFacility;
UBYTE DChannelType;
UBYTE Data;
} XL_DChannelAssign;
C++ Class
class XLC_DChannelAssign : public XLC_OutboundMessage {
public:
const UBYTE *getAddrInfo() const;
UBYTE *getAddrInfo();
void setAddrInfo(UBYTE *x);
UBYTE getSecondaryDChannelFacility() const;
void setSecondaryDChannelFacility(UBYTE x);
UBYTE getDChannelType() const;
void setDChannelType(UBYTE x);
UBYTE getData() const;
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 (0x0007) |
3, 4 |
Message Type (0x00C4) |
3, 4 |
Message Type (0x00C4) |
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 |
Status MSB, lSB |
10 |
Checksum |
||
Number of AEs |
|||
AEs or |
|||
: |
Secondary D Channel Facility (See table below) 0x00 Assign primary ISDN PRI D channel 0x01-0x09 Assign secondary ISDN PRI D channel |
||
: |
D Channel Type 0x01 ISDN PRI Primary D channel 0x02 ISDN PRI Secondary D channel |
||
: |
Checksum |
Secondary D Channel Facility
The table below shows timeslots on an E1 span that map to logical channels in the Excel platform. You must assign D channels to timeslot 16 (Channel 30 (0x1E) as noted with shading).You cannot use Channels 30 and 31 for voice/data when configured for ISDN applications.
Timeslot |
Logical Channel |
---|---|
0 |
31 |
1 |
0 |
2 |
1 |
3 |
2 |
4 |
3 |
5 |
4 |
6 |
5 |
7 |
6 |
8 |
7 |
9 |
8 |
10 |
9 |
11 |
10 |
12 |
11 |
13 |
12 |
14 |
13 |
15 |
14 |
16 |
30 |
17 |
15 |
18 |
16 |
19 |
17 |
20 |
18 |
21 |
19 |
22 |
20 |
23 |
21 |
24 |
22 |
25 |
23 |
26 |
24 |
27 |
25 |
28 |
26 |
29 |
27 |
30 |
28 |
31 |
29 |