IVR Software Manual ivr_terminate
  CALL CENTER SYSTEMS AND SOFTWARE RESOURCE CENTER
call centers

IVR Software Library
ivr_terminate

IVR Software API Manual

ivr software manual functions 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_terminate.

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_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;
}