Intel 05-1832-002 IP Phone User Manual


 
192 Voice API for Windows Operating Systems Library Reference — November 2003
dx_dial( ) — dial an ASCIIZ string
call progress analysis parameters, or by using the call progress analysis parameter structure
(DX_CAP).
Call progress analysis results can be retrieved using ATDX_CPTERM( ). If dx_dial( ) is running
synchronously, the call progress analysis results will also be returned by the dx_dial( ) function.
Possible call progress analysis termination reasons are:
CR_BUSY
line was busy
CR_CEPT
operator intercept
CR_CNCT
call connected
CR_ERROR
call progress analysis error
CR_FAXTONE
fax machine or modem
CR_NOANS
no answer
CR_NODIALTONE
no dial tone
CR_NORB
no ringback
CR_STOPD
call progress analysis stopped due to dx_stopch( )
On DM3 boards, if call progress analysis is enabled, additional information about the call can be
obtained using the following extended attribute functions:
ATDX_CONNTYPE( )
Returns the connection type for a completed call
ATDX_CPERROR( )
Returns call progress analysis error
ATDX_CPTERM( )
Returns last call progress analysis termination
Note: On DM3 boards, the extended attribute functions that provide call progress analysis information do
not return information related to functionality that is not supported; for example,
ATDX_CONNTYPE( ) connection type CON_LPC and ATDX_CPTERM( ) termination reason
CR_NODIALTONE.
On Springware boards, if call progress analysis is enabled, additional information about the call
can be obtained using the following extended attribute functions:
ATDX_ANSRSIZ( )
Returns duration of answer