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_drop_call()
int
ivr_drop_call(int call)
The
ivr_drop_call function drops the call specified in call.
Parameters
int
|
call
|
The
call that should be dropped. It can be one of the following values.
CALL_PRIMARY: Drops the Primary Call
CALL_SECONDARY: Drop Secondary Call
CALL_BOTH: Drop the Primary and Secondary Calls
|
Return Value
Return
IVR_SUCCESS on a successful function call. On error the function returns one
of the IVR Error Codes.
Example
if(ivr_drop_call(CALL_PRIMARY) != IVR_SUCCESS){ ...handle error; }
|