|
IVR Software Library
ivr_dial_call_cpa
Database Systems Corp. (DSC) provides an API subroutine library of IVR Software routines that perform phone functions The following is a description of one of the functions within this library that controls the IVR operation - ivr_dial_call_cpa.
The routine is from our C programming library, although this same routine has an equivalent for Visual Basic, .NET, C++ and Active-X. DSC provides a separate user guide for each of these languages.
Contact DSC to obtain the most current IVR manuals in your required programming language.
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; }
|
|