Intel 05-1832-002 IP Phone User Manual


 
Voice API for Windows Operating Systems Library Reference — November 2003 107
return duration of initial non-silence — ATDX_SIZEHI( )
ATDX_SIZEHI( )
return duration of initial non-silence
!
!!
! Description
The ATDX_SIZEHI( ) function returns duration of initial non-silence in 10 msec units that
occurred during call progress analysis on the channel chdev. This function can be used in
conjunction with ATDX_SHORTLOW( ) 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.
!
!!
! Cautions
None.
!
!!
! Errors
This function will fail and return AT_FAILURE if an invalid channel device handle is specified in
chdev.
!
!!
! Example
/* Call progress analysis with user-specified parameters */
#include <stdio.h>
#include <srllib.h>
#include <dxxxlib.h>
main()
{
int cares, chdev;
DX_CAP capp;
.
Name: long ATDX_SIZEHI(chdev)
Inputs: int chdev
valid channel device handle
Returns: non-silence duration in 10 msec units 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( )