Notifies all concerned point codes of a change in its subsystem state. For more information, refer to Subsystem state changes.
DWORD SCCPStateRqst ( CTAHD ctahd, S16 spId, U8 aSsn, U8 status)
Argument |
Description |
ctahd |
Natural Access handle returned by ctaCreateContext. |
spId |
SCCP service access point. |
aSsn |
Affected subsystem number. |
status |
New subsystem status: 0x03 = SS_OOS Subsystem out of service 0x04 = SS_IS Subsystem in service |
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. |