Voice API Programming Guide — June 2005 49
Call Progress Analysis
Notes: 1. On DM3 boards, dx_dial( ) cannot be used to start an outbound call; instead use the Global Call
API.
2. To issue dx_dial() without dialing digits, specify “ ” in the dialst rp argument.
7.4.5 Determining the Outcome of a CallIn asynchronous mode, once dx_dial( ) with call progress analysis has terminated, use the
extended attribute function ATDX_CPTERM() to determine the outcome of the call. (In
synchronous mode, dx_dial( ) returns the outcome of the call.) ATDX_CPTERM( ) will return
one of the following call progress analysis termination results:
CR_BUSY
Called line was busy.
CR_CEPT
Called line received operator intercept (SIT).
CR_CNCT
Called line was connected. Use ATDX_CONNTYPE() to return the connection type for a
completed call.
CR_ERROR
Call progress analysis error occurred. Use ATDX_CPERROR() to retu rn the type of error.
CR_FAXTONE
Called line was answered by fax machine or modem.
CR_NOANS
Called line did not answer.
CR_NORB
No ringback on called line.
CR_STOPD
Call progress analysis stopped due to dx_stopch().
Figure 4 illustrates the possible outcomes of call progress analysis.