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

IVR Software Library
ivr_set_call_data

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

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

int ivr_set_call_data(int call, char *ivr_data1, char *ivr_data2)

The ivr_set_call_data function send data from the ivr to specified call. This data will then be passed along to the CRM application.

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 *

ivr_data1

Null terminated string to be passed to the application. The maximum length is 32 characters including the terminating NULL character.

char *

ivr_data2

Null terminated string to be passed to the application. The maximum length is 32 characters including the terminating NULL character.

Return Value

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

Example

if(ivr_set_call_data(CALL_PRIMARY,"1234","5678")
    != IVR_SUCCESS){
      ...handle error;
}