Initializes a SiStaEvnt structure for transmitting a continuity message (COT).
S16 TXISUPAPIFUNC ISUPInitCOT ( S16 switchType, SiStaEvnt *event, U8 contInd)
Argument |
Description |
switchType |
One of the following switch type indicators: ST_ANS88 ST_ANS92 ST_ANS95 ST_BICC ST_ITUBLUE ST_ITUWHITE ST_Q767 |
event |
Pointer to the SiStaEvnt structure to be initialized. |
contInd |
Continuity indicator. Must be either CONT_CHKFAIL or CONT_CHKSUCC. |
The fields of the SiStaEvnt structure are initialized as described in the following tables, based on the switchType parameter. Fields not described are not applicable to a COT. This function is called in preparation for a call to ISUPStatusReq.
ANSI 88, ANSI 92, and ANSI 95 values
Field |
ANSI 88 |
ANSI 92 |
ANSI 95 |
contInd |
from contInd |
from contInd |
from contInd |
ITU Blue Book, ITU White Book, and ITU Q.767 values
Field |
ITU Blue Book |
ITU White Book |
ITU Q.767 |
contInd |
from contInd |
from contInd |
from contInd |
Field |
BICC |
contInd |
from contInd |
S16 switchType=ST_ANS88;
SiAllSdus sendEvent;
U8 contInd=CONT_CHKSUCC;
ISUPInitCOT(switchType, &sendEvent.m.SiStaEvnt, contInd);