
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 Customer Satisfaction Surveys
Website Information
Interactive Voice Response
IVR Hosting Services
IVR Outsourcing
Linux IVR
Phone Services
Call Answering Service
IVR Programming
IVR Applications
Unix IVR
IVR Development
Call Routing Service
|
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_speak_messages()
int ivr_speak_messages(int call,
char **prompts, int numprompts, int allow_interrupt)
The ivr_speak_messages
function speaks a series of menu prompts to the specified call.
Parameters
|
int
|
call
|
Specifies which
call speak to:
CALL_PRIMARY: Speak to Primary Call
CALL_SECONDARY: Speak to Secondary Call
|
|
char
**
|
prompts
|
Array
of null terminated string containing the text of the prompts to be spoken.
|
|
int
|
numprompts
|
Number
of propmts in the prompts array.
|
|
int
|
allow_interrupt
|
Specifies if a
digit can interrupt the prompts. It can be one of the following values.
NO_INTERRUPT: Do not allow prompts to
be interrupted by a digit
INTERRUPT: Allow prompts 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
char *prompts[129] = {
"Press 1 For Sales.",
"Press 2 For Customer Support",
"Press 3 For Billing.",
"Press star to quit."
};
IVRDIGITS ivrd; if(ivr_speak_messages(CALL_PRIMARY,prompts,4,INTERRUPT) != IVR_SUCCESS){ ...handle error; }
|