Intel 05-1832-002 User Manual

Page of 564
Voice API for Windows Operating Systems Library Reference — November 2003
73
return the last call progress analysis termination — ATDX_CRTNID( )
ATDX_CRTNID( )
return the last call progress analysis termination
!
!
!
Description
The ATDX_CRTNID( ) function returns the last call progress analysis termination of the tone that 
caused the most recent call progress analysis termination of the channel device. See the Voice API 
Programming Guide
 for a description of call progress analysis. 
Possible return values are the following:
TID_BUSY1 
First signal busy
TID_BUSY2 
Second signal busy
TID_DIAL_INTL 
International dial tone
TID_DIAL_LCL 
Local dial tone
TID_DIAL_XTRA 
Special (“Extra”) dial tone
TID_DISCONNECT 
Disconnect tone (post-connect)
TID_FAX1 
First fax or modem tone
TID_FAX2 
Second fax or modem tone
Name:
long ATDX_CRTNID(chdev)
Inputs:
int chdev
valid channel device handle
Returns:
identifier of the tone that caused the most recent call progress analysis termination, 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( )