|
IVR Software Library
ivr_speak_url
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_speak_url.
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_speak_url()
int
ivr_speak_url(int call,char *address, int allow_interrupt)
The
ivr_speak_url function speaks a URL (uniform resource locator) to the
specified call. It attempts to read the parts of the URL from wave files of the
same name, stored in the "Internet" folder. If a part cannot be
found, it is then spelled out. You can re-record the parts already in this
folder, and add your own parts specific to your company.
Parameters
int
|
call
|
Specifies which call to speak to.
It can be one of the following values.
CALL_PRIMARY: Speak to Primary Call
CALL_SECONDARY: Speak to Secondary Call
|
char *
|
address
|
the URL to be read
|
int
|
allow_interrupt
|
Specifies if a digit can interrupt the
URL.
It can be one of the following values.
NO_INTERRUPT: Do not allow reading to be interrupted by a digit
INTERRUPT: Allow reading to be interrupted by a digit
|
Return Value
Returns
IVR_SUCCESS on a successful function call. On error the function returns one
of the IVR
Error Codes.
Example
ivr_speak_url(CALL_PRIMARY,"http://www.yahoo.com/index.html",NO_INTERRUPT);
|
|