Initializes a SiFacEvnt structure for transmitting a facility request message (FAR).
S16 TXISUPAPIFUNC ISUPInitFAR ( S16 switchType, SiFacEvnt *event)
Argument |
Description |
switchType |
One of the following switch type indicators: ST_ANS88 ST_BICC ST_ITUBLUE ST_ITUWHITE |
event |
Pointer to the SiFacEvnt structure to be initialized. |
The fields of the SiFacEvnt structure are initialized as described in the following tables, based on the switchType parameter. Fields not described are not applicable to an FAR. This function is called in preparation for a call to ISUPFacilityReq.
Field |
ANSI 88 |
facInd |
FI_BUSYFREE |
cdPtyNum |
NOT_PRESENT |
cgPtyNum |
NOT_PRESENT |
callRef |
NOT_PRESENT |
ITU Blue Book, ITU White Book, and BICC values
Field |
ITU Blue Book |
ITU White Book |
BICC |
facInd |
FI_USR2USRSERV |
FI_USR2USRSERV |
FI_USR2USRSERV |
parmCom |
|
NOT_PRESENT |
NOT_PRESENT |
usr2UsrInd |
NOT_PRESENT |
NOT_PRESENT |
NOT_PRESENT |
callRef |
NOT_PRESENT |
NOT_PRESENT |
NOT_PRESENT |
connReq |
|
NOT_PRESENT |
NOT_PRESENT |
S16 switchType=ST_ITUWHITE;
SiAllSdus sendEvent;
ISUPInitFAR(switchType, &sendEvent.m.SiFacEvnt);