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_get_call_info()
int
ivr_get_call_info(int call IVRGETCALLINFO
*ivrcgi, predstatus)
The
ivr_get_call_info function retrieves the information for the specified
call.
Parameters
int
|
call
|
Specifies
which call to retrieve data on.
CALL_PRIMARY: Collect information on the Primary Call
CALL_SECONDARY: Collect information the Secondary Call
|
IVRGETCALLINFO *
|
ivrgci
|
Structure
of type IVRGETCALLINFO in which the call
information will be returned.
|
Return Value
Return
IVR_SUCCESS on a successful function call. On error the function returns one
of the IVR Error Codes.
Example
IVRGETCALLINFO ivrgci; if(ivr_get_call_info(&ivrgci) != IVR_SUCCESS){ ...handle error; }
|