Intel 05-1832-002 IP Phone User Manual


 
64 Voice API for Windows Operating Systems Library Reference — November 2003
ATDX_CONNTYPE( ) — return the connection type for a completed call
ATDX_CONNTYPE( )
return the connection type for a completed call
!
!!
! Description
The ATDX_CONNTYPE( ) function returns the connection type for a completed call on the
channel device chdev. Use this function when a CR_CNCT (called line connected) is returned by
ATDX_CPTERM( ) after termination of dx_dial( ) with call progress analysis enabled.
See the Voice API Programming Guide for more information about call progress analysis.
On DM3 boards, possible return values are the following:
CON_CAD
Connection due to cadence break
CON_PVD
Connection due to positive voice detection
CON_PAMD
Connection due to positive answering machine detection
On Springware boards, possible return values are the following:
CON_CAD
Connection due to cadence break
CON_LPC
Connection due to loop current
CON_PVD
Connection due to positive voice detection
CON_PAMD
Connection due to positive answering machine detection
Name: long ATDX_CONNTYPE(chdev)
Inputs: int chdev
valid channel device handle
Returns: connection type if success
AT_FAILURE if error
Includes: srllib.h
dxxxlib.h
Category: Extended Attribute
Mode: synchronous
Platform: DM3, Springware
Parameter Description
chdev specifies the valid channel device handle obtained when the channel was opened
using dx_open( )