Dialogic 05-0867-005 Table Top Game User Manual


 
sets the minimum number of digits to be collected cc_SetMinDigits( )
241
Name:
int cc_SetMinDigits(linedev, mindigits)
Inputs:
LINEDEV linedev
device handle
int mindigits
the minimum number of digits to
be collected
Returns:
0 on success
< 0 on failure
Includes:
cclib.h
Category:
Optional call handling
Mode:
synchronous
Technology:
BRI/2; BRI/SC; PRI (all protocols)
!
! !
!
Description
The cc_SetMinDigits( ) function sets the minimum number of digits to be
collected prior to receiving a CCEV_OFFERED event, in asynchronous mode, or
prior to executing the cc_WaitCall( ) function, in synchronous mode. For
example, if the minimum number of digits is set to 10, the firmware will not
generate CCEV_OFFERED or the cc_WaitCall( ) function will not complete
until at least 10 digits are collected.
Parameter Description
linedev:
The line device handle or, for applications using the call
waiting feature, the board device handle (BRI and Windows
only).
mindigits:
Specifies the minimum number of digits to be collected prior to
receiving a CCEV_OFFERED event (asynchronous) or prior to
executing the cc_WaitCall( ) function (synchronous).
!
! !
!
Cautions
Using cc_SetMinDigits( ) on a board device will overwrite any prior setting used
on an individual channel device belonging to that board.
!
! !
!
Example
NOTE:
See the code sample in the cc_MakeCall( ) function description for an
example of how to use the cc_SetMinDigits( ) function with the call
waiting feature (BRI and Windows only).