SL_TRUNK_RECONFIG_CNF primitive

Purpose

Confirm that a signaling process has reconfigured itself as a result of changes in the configuration for a specified trunk.

Requirement

Mandatory for all signaling processes.

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_CONFIRM_PARM_ST Parms;
} SL_CONFIRM_ST;
...
typedef union {
...
                struct _trunk_reconfig_confirm_st{
                    size_t sizetLength;
                    SL_REPLY_CODE ReplyCode;
                    int iVpackNo;
                } trunk_reconfig_confirm_st;
...
} SL_CONFIRM_PARM_ST;

Description

The SL_TRUNK_RECONFIG_CNF primitive is sent by the signaling process to the Blueworx Voice Response system manager.

The system manager sends the SL_TRUNK_RECONFIG_REQ primitive to signaling processes when the system configuration changes, as a cue to re-read configuration parameters. After the signaling process has updated its configuration information, it sends the SL_TRUNK_RECONFIG_CNF primitive.

Corresponding state table action

None.

Parameters

id
Eye-catcher that identifies the structure as containing a confirm primitive. Must be set to SLID_CONFIRM_ST.
iseq_no
The sequence number of the primitive. Must be set to the field iseq_no from the SL_TRUNK_RECONFIG_REQ primitive, to which this is the reply.
pidCHP
The process id of the requesting process. This should be set to the pidCHP field from the corresponding SL_TRUNK_RECONFIG_REQ primitive.
Command.id
The primitive that the structure contains. Must be set to SL_TRUNK_RECONFIG_CNF.
Parms.trunk_reconfig_confirm_st.sizetLength
Must be set to sizeof(struct _trunk_reconfig_confirm_st).
Parms.trunk_reconfig_confirm_st.ReplyCode
Specifies the success or failure of the primitive.
SL_REPLY_INTERNAL_ERROR
The signaling process experienced an internal failure while processing the SL_TRUNK_RECONFIG_REQ primitive. The signaling process may be unable to use the trunk.
SL_REPLY_SUCCESS
Success. The signaling process has read its own configuration parameters, and the Blueworx Voice Response signaling process and channel group configurations. This signaling process has taken any action necessary for these configurations to take effect. Blueworx Voice Response can now use this signaling process to make outgoing calls, and will accept incoming calls from this signaling process on the trunk specified by Parms.trunk_reconfig_confirm_st.iVpackNo.
other values
Failure. Blueworx Voice Response will not use any signaling process that sends SL_TRUNK_RECONFIG_CNF with an unsuccessful ReplyCode to make outgoing calls. Blueworx Voice Response will not accept incoming calls from this signaling process on the trunk specified by Parms.trunk_reconfig_confirm_st.iVpackNo.
Parms.trunk_reconfig_confirm_st.iVpackNo
The trunk being reconfigured, in the range SL_MIN_TRUNK_ID to SL_MAX_TRUNK_ID (see Pack and channel numbers).

Related information