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_terminate()
int
ivr_terminate(int drop_call, int call)
The
ivr_terminate function informs the IVR that the program is complete..
Parameters
int
|
drop_call
|
Specifies
if the call should be dropped. It can be one of the following values.
NO_DROP: Do not drop any calls
DROP: Drop specified calls
|
int
|
call
|
The
call which 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
CALL_NONE: Drops neither of the 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_terminate(DROP,CALL_PRIMARY) != IVR_SUCCESS){ ...handle error; }
|