Initializes a SiFacEvnt structure for transmitting a facility-rejected message (FRJ).
S16 TXISUPAPIFUNC ISUPInitFRJ ( S16 switchType, SiFacEvnt *event, U8 cause)
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. |
cause |
Cause value. |
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 FRJ.
Field |
ANSI 88 |
facInd |
FI_BUSYFREE |
causeDgn |
Present |
location |
ILOC_PRIVNETLU |
cdeStand |
CSTD_NAT |
causeVal |
from cause |
dgnVal |
NOT_PRESENT |
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 |
causeDgn |
Present |
Present |
Present |
location |
ILOC_PRIVNETLU |
ILOC_PRIVNETLU |
ILOC_PRIVNETLU |
cdeStand |
CSTD_NAT |
CSTD_NAT |
CSTD_NAT |
causeVal |
from cause |
from cause |
from cause |
dgnVal |
NOT_PRESENT |
NOT_Present |
NOT_PRESENT |
callRef |
NOT_PRESENT |
|
|
usr2UsrInd |
NOT_PRESENT |
NOT_PRESENT |
NOT_PRESENT |
S16 switchType=ST_ITUBLUE;
SiAllSdus sendEvent;
U8 cause= CCFACREJ /* Decimal 29, defined in iedefs.h */;
ISUPInitFRJ(switchType, &sendEvent.m.SiFacEvnt, cause);