Intel 05-1832-002 User Manual

Page of 564
70
Voice API for Windows Operating Systems Library Reference — November 2003
ATDX_CPTERM( ) — return the last result of call progress analysis termination
ATDX_CPTERM( )
return the last result of call progress analysis termination
!
!
!
Description
The ATDX_CPTERM( ) function returns the last result of call progress analysis termination on 
the channel chdev. Call this function to determine the call status after dialing out with call progress 
analysis enabled. 
See the Voice API Programming Guide for more information about call progress analysis. 
Possible return values are the following:
CR_BUSY
Called line was busy.
CR_CEPT
Called line received Operator Intercept (SIT). Extended attribute functions provide 
information on detected frequencies and duration. 
CR_CNCT
Called line was connected.
CR_FAXTONE
Called line was answered by fax machine or modem.
CR_NOANS
Called line did not answer.
CR_NODIALTONE 
Timeout occurred while waiting for dial tone. This return value is not supported on DM3 
boards. 
CR_NORB
No ringback on called line.
Name:
long ATDX_CPTERM(chdev)
Inputs:
int chdev
valid channel device handle
Returns:
last call progress analysis termination if successful
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( )