|
DSC Tech Library
IVR Software Library
ivr_get_digits()
int
ivr_get_digits(int call, int max_digits, int timeout, char termchar, int clear,
IVRDIGITS *ivrd)
The
ivr_get_digits function waits for digits to be entered from the
specified call.
Parameters
int
|
call
|
Specifies
which call to retrieve digits from. It can be one of the following values.
CALL_PRIMARY: Collect Digits from the Primary Call
CALL_SECONDARY: Collect Digits from the Secondary Call
|
int
|
max_digits
|
The maximum number of digits to return. This must be less
than 32.
|
int
|
timeout
|
The maximum amount of time in seconds to wait for the
digits to be entered.
|
char
|
termchar
|
A specific character to terminate digit collection.
|
int
|
clear
|
Clear the buffer before digit collection. It can be one of
the following values.
NO_CLEAR: Do NOT clear the buffer before digit collection
CLEAR: Clear the buffer before digit collection
|
IVRDIGITS *
|
ivrd
|
Structure of type IVRDIGITS
in which the digits will be returned.
|
Return Value
Return
IVR_SUCCESS on a successful function call. On error the function returns one
of the IVR Error Codes.
Example
IVRDIGITS ivrd; if(ivr_get_digits(CALL_PRIMARY,3,10,'*',CLEAR,&ivrd) != 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.
|