Dialogic 05-0867-005 Table Top Game User Manual


 
cc_GetMoreDigits( ) collects more digits via overlap receiving
128
Parameter Description
crn:
The call reference number. Each call needs a valid CRN.
numofdigs:
The number of digits to be collected.
timeout:
Specifies the amount of time in seconds in which the
additional digits must be collected. The function returns
unconditionally when the timer expires.
The timeout parameter is used to prevent a blocked situation
in which the application expects more digits than the network
provides. The timeout value must be a non-zero positive
value. (A value < 0 means that the additional digits can be
collected "forever.")
NOTE:
The timeout parameter is used in synchronous mode
only.
mode:
Specifies either asynchronous (EV_ASYNC) or synchronous
(EV_SYNC) mode.
!
! !
!
Termination Event
CCEV_MOREDIGITS - indicates that the function call is successful and the
requested digits have been received.
CCEV_TASKFAIL - indicates that the function failed and that the
request/message was rejected by the firmware. The application can use
cc_Restart( ) after this event is received to reset the channel.
!
! !
!
Cautions
This function is not supported for the PRI DPNSS protocol.
!
! !
!
Example
#include <windows.h> /* For Windows applications only */
#include <stdio.h>
#include <errno.h>
#include "srllib.h"
#include "dtilib.h"
#include "cclib.h"
#define MIN_DNIS 4
void main()