IVR Software Library
IVR Utility 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_speak_email()
int
ivr_speak_email(int call,char *address, int allow_interrupt)
The
ivr_speak_email function speaks an email address to the specified call.
It attempts to read the parts of the address 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 and customers.
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 email address to be
read
|
int
|
allow_interrupt
|
Specifies if a digit can interrupt the
email address.
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_email(CALL_PRIMARY,"clorenzen@databasesystemscorp.com",NO_INTERRUPT);
|