86 Voice API Programming Guide — June 2005
Call Progress Analysis
After call progress analysis is complete, call ATDX_ANSRSIZ( ). If the return value is less than
180 (1.8 seconds), you have probably contacted a residence. A return value of 180 to 300 is
probably a business. If the return value is larger than 480, you have probably contacted an
answering machine. A return value of 0 means that a connect was returned because excessive
silence was detected. This can vary greatly in practice.
Note: When a connect is detected through positive voice detection or loop current detection, the
DX_CAP parameters ca_hedge, ca_ansrdgl, and ca_maxansr are ignored.
7.16.6 Obtaining Cadence InformationThe functions described in this section are not supported on DM3 boards.
To return cadence information, you can use the following extended attribute functions:
ATDX_SIZEHI( )
duration of the cadence non-silence period (in 10 msec units)
ATDX_SHORTLOW( )
duration of the cadence shorter silence period (in 10 msec units)
ATDX_LONGLOW( )
duration of the cadence longer silence period (in 10 msec units)
ATDX_ANSRSIZ( )
duration of answer if a connect occurred (in 10 msec units)
ATDX_CONNTYPE( )
connection type. If ATDX_CONNTYPE( ) returns CON_CAD, the connect was due to
cadence detection.