TCAPStateReq

Notifies all concerned point codes of a change in its subsystem state by generating a subsystem available (SSA) or subsystem prohibited (SSP) message to all concerned signaling points as specified by the application's SCCP service access point.

Prototype

DWORD TCAPStateReq ( CTAHD ctahd, S16 spId, U8 aSsn, U8 status)

Argument

Description

ctahd

Context handle returned by ctaCreateContext.

spId

TCAP SAP ID to which the caller is bound.

aSsn

Affected subsystem number.

status

New subsystem status:

0x03 = SS_OOS   Subsystem out of service

0x04 = SS_IS      Subsystem in service


Return values

Return value

Description

TCAP_SUCCESS

 

CTAERR_BAD_ARGUMENT

Natural Access handle is invalid, or an invalid message buffer has been used.

CTAERR_DRIVER_SEND_FAILED

Message buffer was not sent to the board. Call TCAPGetApiStats and check the txLastErr field to find the error.

CTAERR_INVALID_HANDLE

Natural Access handle is invalid.

CTAERR_OUT_OF_MEMORY

TCAP service queue is full and another request could not be queued to the TCAP layer.