IVR Software Library
IVR Library Routine Descriptions
The following routine or parameter is maintained in the PACER and WIZARD IVR software library. These routines are developed for programmers who are creating and managing IVR application programs.
IVR programs can be written in C/C++ on Windows, Unix and Linux operating environments.
ivr_set_call_data()
int
ivr_set_call_data(int call, char *ivr_data1, char *ivr_data2)
The
ivr_set_call_data function send data from the ivr to specified call.
This data will then be passed along to the CRM application.
Parameters
int
|
call
|
Specifies
which call to retrieve digits from. It can be one of the following values.
CALL_PRIMARY: Collect Digits from the Primary Call
CALL_SECONDARY: Collect Digits from the Secondary Call
|
char *
|
ivr_data1
|
Null terminated string to be passed to the application.
The maximum length is 32 characters including the terminating NULL character.
|
char *
|
ivr_data2
|
Null terminated string to be passed to the application.
The maximum length is 32 characters including the terminating NULL character.
|
Return Value
Return
IVR_SUCCESS on a successful function call. On error the function returns one
of the IVR Error Codes.
Example
if(ivr_set_call_data(CALL_PRIMARY,"1234","5678") != IVR_SUCCESS){ ...handle error; }
|