Intel 05-1832-002 IP Phone User Manual


 
Voice API for Windows Operating Systems Library Reference — November 2003 105
return duration of shorter silence detected — ATDX_SHORTLOW( )
ATDX_SHORTLOW( )
return duration of shorter silence detected
!
!!
! Description
The ATDX_SHORTLOW( ) function returns duration of shorter silence in 10 msec units for the
initial signal that occurred during call progress analysis on the channel chdev. This function can be
used in conjunction with ATDX_SIZEHI( ) and ATDX_LONGLOW( ) to determine the elements
of an established cadence.
See the Voice API Programming Guide for more information on call progress analysis and cadence
detection.
Compare the results of this function with the field ca_lo2rmin in the DX_CAP data structure to
determine whether the cadence is a double or single ring:
If the result of ATDX_SHORTLOW( ) is less than the ca_lo2rmin field, this indicates a
double ring cadence.
If the result of ATDX_SHORTLOW( ) is greater than the ca_lo2rmin field, this indicates a
single ring.
!
!!
! Cautions
None.
!
!!
! Errors
This function will fail and return AT_FAILURE if an invalid channel device handle is specified in
chdev.
Name: long ATDX_SHORTLOW(chdev)
Inputs: int chdev
valid channel device handle
Returns: duration of shorter silence if successful
AT_FAILURE if error
Includes: srllib.h
dxxxlib.h
Category: Extended Attribute
Mode: synchronous
Platform: Springware
Parameter Description
chdev specifies the valid channel device handle obtained when the channel was opened
using dx_open( )