Initializes a SiResmEvnt structure for transmitting a resume message (RES).
S16 TXISUPAPIFUNC ISUPInitRES ( S16 switchType, SiResmEvnt *event)
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 SiResmEvnt structure to be initialized. |
The fields of the SiResmEvnt structure are initialized as described in the following tables, based on the switchType parameter. Fields not described are not applicable to an RES. This function is called in preparation for a call to ISUPResumeReq.
ANSI 88, ANSI 92, and ANSI 95 values
Field |
ANSI 88 |
ANSI 92 |
ANSI 95 |
susResInd |
Present |
|
|
susResInd |
SR_ISDNSUBINIT |
SR_ISDNSUBINIT |
SR_ISDNSUBINIT |
callRef |
NOT_PRESENT |
NOT_PRESENT |
NOT_PRESENT |
ITU Blue Book, ITU White Book, and ITU Q.767 values
Field |
ITU Blue Book |
ITU White Book |
ITU Q.767 |
susResInd |
Present |
|
|
susResInd |
SR_ISDNSUBINIT |
SR_ISDNSUBINIT |
SR_ISDNSUBINIT |
callRef |
NOT_PRESENT |
NOT_PRESENT |
|
Field |
BICC |
susResInd |
|
susResInd |
SR_ISDNSUBINIT |
callRef |
NOT_PRESENT |
S16 switchType=ST_ITUWHITE;
SiAllSdus sendEvent;
ISUPInitRES(switchType, &sendEvent.m.SiResmEvnt);