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_dial_call_cpa()
int
ivr_dial_call_cpa(char *number, int am_detect, int max_time, IVRCPA *ivrcpa)
The
ivr_dial_call_cpa function dials the number specified
in number with call progress analysis.
Parameters
char *
|
number
|
Null terminated string containing the number in which the
IVR should dial.
|
int
|
am_detect
|
Type
of answering machine detection to use. It can be one of the following values.
IVRCPA_NONE: No answering machine detection.
IVRCPA_QUICK: Quick answering machine detection
IVRCPA_FULL: Full answering machine detection.
IVRCPA_ACCURATE: Accurate answering machine detection.
|
int
|
max_time
|
The maximum amount of time in seconds to consider the call
a no answer.
|
IVRCPA *
|
ivrcpa
|
Structure of type IVRCPA in
which the call progress analysis 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
IVRCPA ivrcpa;
if(ivr_dial_call_cpa("15555556666", IVRCPA_ACCURATE, 25, &ivrcpa) != IVR_SUCCESS){
...handle error; }
|