(Page 1 of 1 in this chapter) Version
ChkPntMsg, is used to transfer circuit state information from the primary application to the backup application.
typedef struct checkPointMsg
{
U32 msgId;
CirId cirId; /* circuit ID of indicated circuit */
CirId mateId; /* circuit ID of mate circuit */
U8 transient; /* transient state indicator */
U8 callState; /* call processing state */
U8 blkState; /* circuit blocking state */
} ChkPntMsg;
Event, is used to pass information between threads. This is done by passing a pointer to an event in the buffer member of a CTA_EVENT structure.
typedef struct
{
IsupRcvInfoBlk info; /* ISUP receive information block */
SiAllSdus sdu; /* union of all ISUP event structures */
ChkPntMsg chkPntMsg; /* checkpoint message */
} Event;
Circuit, is used to maintain information required by the application in order to control a particular circuit.
typedef struct circuit
{
short state; /* thread state */
CTAQUEUEHD ctaQueue; /* CT Access queue for receiving events */
CTAHD ctaHndl; /* CT Access handle for this thread */
CirId cirId; /* circuit ID of this circuit */
CirId mateId; /* circuit ID for mate circuit */
SuId suId; /* service user ID */
SiInstId suInstId; /* service user instance ID */
SiInstId spInstId; /* service provider instance ID */
U8 callState; /* call processing state */
U8 blkState; /* circuit blocking state */
U8 transient; /* transient state indicator */
} Circuit;
Figure 18. Inter-thread Communication in the isupdemo Application
|
Event
|
Description
|
|---|---|
CHKPNT_EVT
|
Indicates that a checkpoint message has been received concerning this circuit.
|
|
Event
|
Description
|
|---|---|
APPREADY_EVT
|
Indicates that a ready message has been received from the mate application.
|
[<circuit state>, <transient state>].
Figure 19. Normal Incoming Call Setup and Release
Figure 20. Incoming Test Call Setup and Release
Figure 21. Outgoing Test Call Setup and Release
(Page 1 of 1 in this chapter) Version