SL_CALL_DATA_ST data structure

The SL_CALL_DATA_ST structure contains the call information for an incoming call. This structure is completed by the signaling process, as part of the SL_CALL_SETUP_IND primitive, and is used by Blueworx Voice Response when processing the call.

typedef struct {
    char called_no[SL_PHONE_NUM_LEN] ;
    char calling_no[SL_PHONE_NUM_LEN] ;
    int call_type ;
    int call_origin ;
    char call_info_user1[SL_CALL_INFO_LEN] ;
    char call_info_user2[SL_CALL_INFO_LEN] ;
    time_t timestamp ;
    long seq_no ;
    } SL_CALL_DATA_ST , *SL_CALL_DATA_SP ;
typedef SL_CALL_DATA_ST * PSL_CALL_DATA_ST ;

Parameters

called_no
The called number, represented as a null-terminated ASCII string. The maximum number length supported by Blueworx Voice Response is SL_NUM_SZ bytes including the terminating '\0'. Any additional digits are ignored by Blueworx Voice Response. This information is passed to the channel process that is processing the call, and made available to the state table in system variable System: Call Info: Called Number (SV185).
calling_no
The calling number, represented as a null-terminated ASCII string. The maximum number length supported by Blueworx Voice Response is SL_NUM_SZ bytes including the terminating '\0'. Any additional digits are ignored by Blueworx Voice Response. This information is passed to the channel process that is processing the call, and made available to the state table in system variable System: Call Info: Calling Number (SV186).
call_type
Describes the type of call, as one of the values of the enumeration SL_CALL_TYPE (see SL_CALL_TYPE data structure). This information is passed to the channel process that is processing the call, and made available to the state table in system variable System: Call Info: Call Type (SV23).
call_origin
Describes the origin of the call, as one of the values of the enumeration SL_CALL_ORIGIN. This information is passed to the channel process that is processing the call, and made available to the state table in system variable System: Call Info: Origin (SV189).
call_info_user1
signaling process specific information. This information is passed to the channel process that is processing the call, and made available to the state table in system variable System: Call Info: User 1 (SV187). Set this to '\0' if unused.
call_info_user2
signaling process specific information. This information is passed to the channel process that is processing the call, and made available to the state table in system variable System: Call Info: User 2 (SV188). Set this to '\0' if unused.
timestamp
This field should be set to 0 by the signaling process.
seq_no
This field is reserved for use by Blueworx Voice Response.