Intel 05-1832-002 User Manual

Page of 564
Voice API for Windows Operating Systems Library Reference — November 2003
101
return duration of longer silence detected — ATDX_LONGLOW( )
ATDX_LONGLOW( )
return duration of longer silence detected
!
!
!
Description
The ATDX_LONGLOW( ) function returns duration of longer silence duration 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 
 and 
 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_LONGLOW(chdev)
Inputs:
int chdev
valid channel device handle
Returns:
duration of longer 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( )