SL_CHANNEL_ENABLE_IND primitive

Purpose

Indicate that a channel has changed state and is now usable.

Requirement

Mandatory for common channel signaling processes wanting to report asynchronous channel availability. Otherwise this primitive is not used.

Library

The signaling interface library (libsl.a).

C syntax

typedef struct {
                SL_ID id;
                int iseq_no;
                pid_t pidCHP;
                SL_PRIMITIVE_TYPE Command;
                SL_INDICATION_PARM_ST Parms;
} SL_INDICATION_ST;
...
typedef union {
...
                struct _channel_enable_indication_st {
                    size_t sizetLength;
                    int iVpackNo;
                    int iChannelNo;
                    SL_CHANNEL_TYPE fSignallingLink;
                    SL_BOOLfStandby;
                } channel_enable_indication_st;
...
} SL_INDICATION_PARM_ST;

Description

The SL_CHANNEL_ENABLE_IND primitive is sent by the signaling process to Blueworx Voice Response system management to indicate that a channel is available. Once the signaling process has sent the primitive, the channel is in state SL_CHANNEL_STATE_ENABLED, and the System Monitor window shows that the channel is currently enabled.

Corresponding state table action

None.

Corresponding user interface action

The Channel Out of Service window shows the channel as idle.

Parameters

id
Eye-catcher that identifies the structure as containing an indication primitive. This must be set to SLID_INDICATION_ST.
iseq_no
The sequence number of the primitive. Must be set to 0.
pidCHP
Must be set to -1.
Command.id
The primitive that the structure contains. Must be set to SL_CHANNEL_ENABLE_IND.
Parms.channel_disable_indication_st.sizetLength
Must be set to sizeof(struct _channel_disable_indication_st).
Parms.channel_disable_indication_st.iVpackNo
Identifies the trunk associated with this primitive.
Parms.channel_disable_indication_st.iChannelNo
Identifies the channel associated with this primitive.
Parms.channel_disable_indication_st.fSignallingLink
Must be set to SL_BEARER_CHANNEL using the SL_CHANNEL_TYPE enumeration, unless you want to inform the system of a change in the state of the signaling channel.
Parms.channel_disable_indication_st.fStandby
Must be set to TRUE if the signaling channel is going into standby state rather than inservice.

Related information