SL_REQUEST_ST data structure

Purpose

The structure for a primitive containing a request from a channel process or a custom server, destined for a signaling process.

C Syntax

typedef struct {
    SL_ID id ;
    int iseq_no ;
    pid_t pidCHP ;
    SL_PRIMITIVE_TYPE Command ;
    SL_REQUEST_PARM_ST Parms ;
} SL_REQUEST_ST, * SL_REQUEST_SP ;
typedef SL_REQUEST_ST * PSL_REQUEST_ST ;

Parameters

See individual primitive definitions in Signaling interface primitives for specific details. See Table 1 for a list of request primitives.

id
Eye-catcher that identifies the structure as a request primitive. Set this to SLID_REQUEST_ST.
iseq_no
The sequence number of the primitive. This must be set to 0 by the sending channel process or custom server. The sequence number is allocated by the signaling interface. The sequence number is set when the primitive is received by the signaling process.
pidCHP
The process identifier of the sending process: whether channel process, custom server, or Blueworx Voice Response system management process. This field must be set by the sending process, using the getpid() system call. The process identifier is set when the primitive is received by the signaling process.
Command
The primitive that the structure contains. This must be one of the values listed for id in SL_PRIMITIVE_TYPE structure.
Parms
The structure that contains the parameters for the primitive specified in Command. See SL_REQUEST_PARM_ST data structure.