Initializes a SiStaEvnt structure for transmitting a circuit reservation message (CRM).
S16 TXISUPAPIFUNC ISUPInitCRM ( S16 switchType, SiStaEvnt *event)
Argument |
Description |
switchType |
One of the following switch type indicators: ST_ANS92 ST_ANS95 |
event |
Pointer to the SiStaEvnt structure to be initialized. |
The fields of the SiStaEvnt structure are initialized as described in the following table, based on the switchType parameter. Fields not described are not applicable to a CRM. This function is called in preparation for a call to ISUPStatusReq.
Field |
ANSI 92 |
ANSI 95 |
natConInd |
Present |
Present |
satInd |
SAT_NONE |
SAT_NONE |
contChkInd |
CONTCHK_NOTREQ |
CONTCHK_NOTREQ |
echoCntrlDevInd |
ECHOCDEV_NOTINCL |
ECHOCDEV_NOTINCL |
S16 switchType=ST_ANS95;
SiAllSdus sendEvent;
ISUPInitCRM(switchType, &sendEvent.m.SiStaEvnt);