Indicate to Blueworx Voice Response the arrival of an incoming call.
Mandatory for common channel signaling processes. The primitive is optional for exchange data link signaling processes. An exchange data link signaling process that provides call information uses the SL_CALL_SETUP_IND primitive to pass the information to Blueworx Voice Response.
The signaling interface library (libsl.a).
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 _call_setup_indication_st { size_t sizetLength; SL_CALL_REFslCallReference; int iChannelNo; int iVpackNo; SL_APPL_INFO_ST slApplInfo; SL_CALL_DATA_ST slCallData; } call_setup_indication_st; ... } SL_INDICATION_PARM_ST;
The SL_CALL_SETUP_IND primitive is sent by the signaling process to Blueworx Voice Response to indicate the arrival of an incoming call. When the signaling process receives notification from the network of an incoming call, it sends an SL_CALL_SETUP_IND primitive to Blueworx Voice Response. The SL_CALL_SETUP_IND primitive specifies the channel the call is offered on, and the call information. A channel process is allocated to handle the call. Common channel signaling processes are responsible for specifying the exact channel and trunk for incoming calls. Blueworx Voice Response does not support inbound channel negotiation between the state table and the signaling process. Of course, there is nothing to stop the signaling process from supporting inbound channel negotiation with the network, so long as the channel has been decided by the time the SL_CALL_SETUP_IND primitive is sent to Blueworx Voice Response.
If the call is notified by an exchange data link signaling process, the channel process answers the call using CAS signaling. If the call is notified by a common channel signaling process, the channel process then sends the SL_CALL_ANSWER_REQ primitive to the signaling process to answer the call, or the SL_CALL_TERMINATE_REQ primitive to clear the call.
The issuing process (the signaling process) should set the slCallReference to SL_NULL_CALL_REF. The signaling interface allocates a call reference, which is completed on return from sl_send_indication().
For common channel signaling processes, Blueworx Voice Response allocates a call reference. This field is updated with the new call reference on return from the sl_send_indication() subroutine. The signaling process should store the allocated call reference, because this value is used in the SL_CALL_ANSWER_REQ, SL_CALL_TERMINATE_REQ and SL_CALL_TERMINATE_IND primitives to identify the call.
The call reference is not used by exchange data link signaling processes.