Synopsis:
CCsiginfo(port,&pBearerMap,&pProtocol);
Arguments:
port – The logical E1/T1 port number.
pBearerMap – Pointer to a variable that will hold the returned bearer channel mask as a 32 character string of 1s and 0s
pProtocol – Pointer to a variable that will hold the returned protocol name
Description: This function returns information about the signalling and bearer channels on the specified port as well as the name of the protocol running on the port.
The pBearerMap is a pointer to a variable that will hold the returned channel/timeslot bit mask which will be returned as a string of 0s and 1s where 1s represent the bearer channels and 0 represent the signalling/timing channels of the port. The rightmost character of the returned string represents bit 0 of the 32 bit vector.
For example, for a port running the Q931 protocol where timeslot 0 is used for clocking and timeslot 16 is used for signalling the returned value for pBearerMap would be as follows:
11111111111111101111111111111110
The values returned into the variable pointed to by pProtocol will be one of the following:
• E1 - ISDN signaling systems
ETS300 ETSNET FETX150 FETXNET
DASS2 DASSNE DPNSS QSIG
• E1 - CAS signaling systems
R2B2P CAS BTCU BTCN PTVU PTVN PD1D
PD1U PD1N R2L P8 EM BEZEQ
• E1 - CAS tone signaling systems - requires DSP
R2T R2T1 ALSU ALSN BELGU BELGN EFRAT
EEMA PD1 PD1DD PD1UD PD1ND BTMC OTE2
FMFS SMFS I701 SS5
• T1 - ISDN signaling systems
NI2 NI2NET INS_T1 INT1NET ATT1 ATT1NET ETST1U ETST1N
DMS1 DMS1NET
• T1 - CAS tone signaling systems - requires DSP
F12 T1RB
• SS7
ISUP
• Passive Monitor
E1 - MONE
T1 — MONT
• IP Telephony
H323 SIP
Returns: This function returns 0 upon success or a negative error code.