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

IVR Software Library
ivr_start_recording

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_start_recording.

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_start_recording()

int ivr_start_recording(int call, char *filename, int maxtime, int maxsilencetime, char termchar)

The ivr_start_recording function records the specified call.

Parameters

int

call

Specifies which call to retrieve digits from. It can be one of the following values.

CALL_PRIMARY: Collect Digits from the Primary Call
CALL_SECONDARY: Collect Digits from the Secondary Call

char *

filename

The full path name of the file to record.

int

maxtime

The maximum time of the recording

int

maxsilencetime

The amount of silence required that terminates the recording.

char

termchar

A specific character to terminate digit collection.

Return Value

Return IVR_SUCCESS on a successful function call. On error the function returns one of the IVR Error Codes.

Example

 
if(ivr_start_recording(CALL_PRIMARY,
     "D:\\Recording\\Call1.wav",600,5,'*') != IVR_SUCCESS){
      ...handle error;
}