64 Voice API Programming Guide — June 2005
Call Progress Analysis
Figure 5. Call Outcom es for Call Progress Analysis (Springware)
7.10.6 Obtaining Additional Call Outcome Information
To obtain additional call progress analysis information, use the following extended attribute
functions:
ATDX_ANSRSIZ( )
Returns duration of answer.
ATDX_CPERROR( )
Returns call analysis error.
ATDX_CPTERM( )
Returns last call analysis termination.
ATDX_CONNTYPE( )
Returns connection type
ATDX_CRTNID( )
Returns the identifier of the tone that caused the most recent call progress analysis termination.
ATDX_DTNFAIL( )
Returns the dial tone character that indicates which dial tone call progress analysis failed to
detect.
ATDX_FRQDUR( )
Returns duration of first frequency detected.
ATDX_FRQDUR2( )
Returns duration of second frequency detected.
Frequency
Detection
Cadence
Detection
Loop
Current
Detection
Positive
Voice or
Answering
Machine
Detection
Incoming
Signal
Connect
Reason
Termination Reason: From ATDX_CPTERM( ).
Connect Reason: From ATDX_CONNTYPE( ).
CR_CAD
CON_LPC
CON_PVD
CON_PAMD
Termination
Reason
Connect
CR_CNCT
No
Ringback
CR_NORB
Busy
CR_BUSY
Faxtone
CR_FAXTONE
Intercept
(SIT)
CR_CEPT
No
Dialtone
CR_NO-
DIALTONE
No
Answer
CR_NOANS