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_transfer_out()
int
ivr_transfer_out(char *number)
The
ivr_transfer_out function dials the number specified
in number and connects the primary and secondary calls.
Parameters
char *
|
number
|
Null terminated string containing the number in which the
IVR should dial.
|
int
|
timeout
|
0- don’t’ wait, 1 – wait
|
int
|
wait
|
Amount of time to wait in seconds. 0 – infinite wait
|
Return Value
Return
IVR_SUCCESS on a successful function call. On error the function returns one
of the IVR Error Codes.
Example
if(ivr_transfer_out("15555556666") != IVR_SUCCESS){ ...handle error; }
|