Sends a reset message to the far end point and starts the reset timer.
DWORD SCCPResetRqst ( CTAHD ctahd, SccpConnId *connId, SccpResetRqst *resetRqst)
Argument |
Description |
ctahd |
Natural Access handle returned by ctaCreateContext. |
connId |
Pointer to the connection ID identifying the SAP and connection instance to which this request belongs. |
resetRqst |
Pointer to the caller's reset request message containing all parameters to be included in the message to the far end point. |
Return value |
Description |
SCCP_SUCCESS |
|
SCCPERR_RESOURCES |
Number of available buffers is exhausted. |
CTAERR_BAD_ARGUMENT |
One or more arguments are invalid. |
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. |
If the SCCP layer does not receive a reset confirmation message before the expiration of the timer, it clears the connection in both directions.