Called in response to an SCCPINACTIND event received from the SCCP layer to indicate that the specified connection is still active.
DWORD SCCPInactResp ( CTAHD ctahd, SccpConnId *connId)
Argument |
Description |
ctahd |
Natural Access handle returned by ctaCreateContext. |
connId |
Pointer to the connection ID. |
Return value |
Description |
SCCP_SUCCESS |
|
SCCPERR_RESOURCES |
Number of available buffers is exhausted. |
CTAERR_DRIVER_SEND_FAILED |
Error occurred accessing the CPI driver. Call SCCPGetStats to obtain the error code. The error code is in the failTxErr field of the SccpStats structure. The CPI error codes are listed in the txcpi.h include file. |
CTAERR_INVALID_CTAHD |
Natural Access handle is invalid. |
The specified connection ID parameter must be identical to the connection ID returned in the SccpRcvInfoBlk with the SCCPINACTIND event.
If the connection ID returned with the SCCPINACTIND event identifies a connection that the application does not believe is active, call SCCPReleaseRqst to release the connection towards the far end and free up connection resources in the SCCP layer.
Refer to Application inactivity control for more information.