Information
Interactive Voice Response
IVRS
IVR
IVR Outsourcing
Virtual ACD Systems
IVR Systems
Messaging Service and Systems
Inbound Call Center
Text To Speech Software
Interactive Voice Response System
IVR Software Library
IVR Solutions
IVR Services
|
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_number()
int
ivr_speak_number(int call,double x, int type, int allow_interrupt)
The
ivr_speak_number function speaks a number to the specified call in the
specified format.
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
|
double
|
x
|
Double precision real
number to speak
|
int
|
type
|
Specifies type to read the number as.
It can be one of the following values.
CARDINAL: (one, two, three)
ORDINAL: (first, second, third)
CURRENCY: (one dollar and fifteen cents)
|
int
|
allow_interrupt
|
Specifies if a digit can interrupt the
number.
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_number(CALL_PRIMARY, -103000234.674, CARDINAL,
INTERRUPT);
ivr_speak_number(CALL_PRIMARY, 23, ORDINAL, INTERRUPT);
ivr_speak_number(CALL_PRIMARY, 2345.34, CURRENCY, INTERRUPT);
|