Previous PageTable Of Contents../index.htmlIndexNext Page

ATDX_ANSRSIZ( )

Description | Cautions | Example | Errors | See Also

Name:

long ATDX_ANSRSIZ(chdev)

Inputs:

int chdev

  valid Dialogic channel device handle

Returns:

answer duration in 10 ms units if successful
AT_FAILURE if error

Includes:

srllib.h
dxxxlib.h

Category:

Extended Attribute

Top Of PageDescription

The ATDX_ANSRSIZ( ) function returns the duration of the answer that occurs when dx_dial( ) with Basic Call Analysis enabled is called on a channel. An answer is considered the period of non-silence that begins after cadence is broken and a connection is made. This measurement is taken before a connect event is returned. The duration of the answer can be used to determine if the call was answered by a person or an answering machine. This feature is based on the assumption that an answering machine typically answers a call with a longer greeting than a live person does.

See the Voice Software Reference: Voice Features Guide for information about how cadence detection parameters affect a connectand are used to distinguish between a live voice and a voice recorded on an answering machine.

The function parameter is defined as follows:

Parameter

Description

chdev

specifies the valid channel device handle obtained when the channel was opened using dx_open( ).

Top Of PageCautions

None.

Top Of PageExample

Top Of PageErrors

This function will fail and return AT_FAILURE if an invalid channel device handle is specified in chdev.

Top Of PageSee Also

Related to Call Analysis:


Previous PageTable Of ContentsTop Of PageIndexNext Page

Click here to contact Dialogic Customer Engineering

Copyright 2002, Dialogic Corporation
All rights reserved
This page generated February, 2002