You are here: CSP API Reference > 1 EXS & SwitchKit API Messages > SS7 Signaling Link Query 0x0065
SS7 Signaling Link Query 0x0065
SwitchKit Name
SS7SignalingLinkQuery
Type
EXS API and SwitchKit API message
Description
This message queries information on a signaling link.
Sent by
SwitchKit Code
C Structure
typedef struct {
UBYTE StackID;
UBYTE LinkSetID;
} XL_SS7SignalingLinkQuery;
C Structure Response
typedef struct {
unsigned short Status;
UBYTE StackID;
UBYTE LinkSetID;
UBYTE NumLinks;
UBYTE Data[220];
} XL_SS7SignalingLinkQueryAck;
C++ Class
class XLC_SS7SignalingLinkQuery : public XLC_OutboundMessage {
public:
UBYTE getStackID() const;
void setStackID(UBYTE x);
UBYTE getLinkSetID() const;
void setLinkSetID(UBYTE x);
};
C++ Class Response
class XLC_SS7SignalingLinkQueryAck : public XLC_AcknowledgeMessage {
public:
unsigned short getStatus() const;
void setStatus(unsigned short x);
UBYTE getStackID() const;
void setStackID(UBYTE x);
UBYTE getLinkSetID() const;
void setLinkSetID(UBYTE x);
UBYTE getNumLinks() const;
void setNumLinks(UBYTE 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 |
Length (0x0007) |
1 |
Length (0x00NN) |
3 |
Message Type (0x0065) |
3 |
Message Type (0x0065) |
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, 9 |
|
Number of AEs to follow |
10 |
AIB (same as message) |
|
AEs |
|||
: |
Checksum |
||
|
Response continued below. |
||
: |
Number of Links |
||
: |
Link n: ID |
||
: |
Link n: Status This field is a bit mask. The meaning of each bit is as follows:
Bit Status 0 Available 1 Failed 2 Inhibit Locally 3 Inhibit Remotely 4 Remote Blocked 5-7 Reserved |
||
: |
Signaling Link Code (n) The signaling link code (SLC) must be the same on both ends of the link (0x00–0x0F). |
||
: |
Data Rate (n) This field specifies a bit mask that determines the data rate. If any one bit is set, the data rate will be 56 Kbps. If any two bits are set, the data rate will be 48 Kbps. The most common settings for this field are:
0x00 64 Kbps 0x01 56 Kbps for non-V.35 applications (mask off least significant bit) 0x80 V.35, 56 Kbps (mask off most significant bit) 0x81 48 Kbps for non-V.35 applications 0xC0 V.35, 48 Kbps (mask off 2 most significant bits) |
||
: |
Electrical Interface (n)
0x00 No timing (Not a V.35 link) 0x01 V.35, DTE (Data Terminal Equipment) 0x02 V.35, DCE (Data Communications Equipment)
In addition, Bit 8 specifies data inversion of the V.35 data stream. The data inversion is performed on the SS7 MP I/O card.
0x81 Invert Transmit and Receive Data
For example, if the Electrical Interface Byte is 0x81, data inversion is performed on both Transmit and Receive Data, and the interface is V.35 DTE. |
||
: |
AIB (Individual AEs) Span/Channel that Link (n) is on. |
||
: |
Checksum |