|
DSC Tech Library
IVR Software Library
ivr_play_messages()
int
ivr_menu(int call, char **prompts, int numprompts, int allow_interrupt)
The
ivr_play_messages function plays a series of messages to specified call.
Parameters
int
|
call
|
Specifies which
call play to:
CALL_PRIMARY: Play to Primary Call
CALL_SECONDARY: Play to Secondary Call
|
char **
|
prompts
|
Array of null terminated string containing the pathnames
of the prompts to play.
|
int
|
numprompts
|
Number of prompts 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] = {
"D:\\ivrdemo\\prompt1.wav",
"D:\\ivrdemo\\prompt2.wav",
"D:\\ivrdemo\\prompt3.wav",
"D:\\ivrdemo\\prompt4.wav"
}; if(ivr_play_messages(CALL_PRIMARY,prompts,4,INTERRUPT) != IVR_SUCCESS){ ...handle error; }
Wizard Simplifies Development
DSC provides IVR software including our IVR wizard development tool for creating interactive voice response applications.
Our IVR software lets you increase IVR development productivity by providing a visual development environment. IVR applications can be defined in minutes using this sophisticated, yet easy to use development tool.
DSC also has available a comprehensive IVR software library known as our IVR Wizard Software Development Kit. This optional package is available for programmers and systems adminstrators who wish to manage IVR programs fromLinux IVR, Unix, or Windows IVR operating environments.
Data collected by your phone ACD (Automatic Call Distribution) or IVR (Interactive Voice Response) systems can be passed to your existing PC, Unix or Web applications through our phone software.
The PACER predictive dialer can automatically call your customers and pass only connected calls to your agents. With our computer telephony software, your telephone and computer work together to provide cost-saving benefits.
|