IVR Software Library
ivr_drop_call
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_drop_call.
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_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; }
|