Intel 05-1832-002 IP Phone User Manual


 
58 Voice API for Windows Operating Systems Library Reference — November 2003
ATDX_BUFDIGS( ) — return the number of uncollected digits
ATDX_BUFDIGS( )
return the number of uncollected digits
!
!!
! Description
The ATDX_BUFDIGS( ) function returns the number of uncollected digits in the firmware buffer
for channel chdev. This is the number of digits that have arrived since the last call to dx_getdig( )
or the last time the buffer was cleared using dx_clrdigbuf( ). The digit buffer contains a maximum
of 31 digits and a null terminator.
This function is supported on DM3 boards but must be manually enabled. You must enable the
function before the application is loaded in memory. To enable this function, set parameter
SupportForSignalCounting to 1 in Key
HKEY_LOCAL_MACHINE\SOFTWARE\Dialogic\Cheetah\CC.
To subsequently disable this function, set this parameter to 0.
!
!!
! Cautions
Digits that adjust speed and volume (see dx_setsvcond( )) will not be passed to the digit buffer.
!
!!
! Errors
This function will fail and return AT_FAILURE if an invalid channel device handle is specified in
chdev.
!
!!
! Example
#include <fcntl.h>
#include <srllib.h>
#include <dxxxlib.h>
Name: long ATDX_BUFDIGS(chdev)
Inputs: int chdev
valid channel device handle
Returns: number of uncollected digits in the firmware buffer if successful
AT_FAILURE if error
Includes: srllib.h
dxxxlib.h
Category: Extended Attribute
Mode: synchronous
Platform: DM3, Springware
Parameter Description
chdev specifies the valid channel device handle obtained when the channel was opened
using dx_open( )