Intel 05-1832-002 IP Phone User Manual


 
Voice API for Windows Operating Systems Library Reference — November 2003 67
return the call progress analysis error — ATDX_CPERROR( )
ATDX_CPERROR( )
return the call progress analysis error
!
!!
! Description
The ATDX_CPERROR( ) function returns the call progress analysis error that caused dx_dial( )
to terminate when checking for operator intercept Special Information Tone (SIT) sequences. See
the Voice API Programming Guide for more information about call progress analysis.
!
!!
! Cautions
None.
!
!!
! Errors
When dx_dial( ) terminates due to a call progress analysis error, CR_ERROR is returned by
ATDX_CPTERM( ).
If CR_ERROR is returned, use ATDX_CPERROR( ) to determine the call progress analysis error.
One of the following values will be returned:
CR_LGTUERR
lower frequency greater than upper frequency
CR_MEMERR
out of memory trying to create temporary Special Information Tone (SIT) tone templates
(exceeds maximum number of templates)
CR_MXFRQERR
invalid ca_maxtimefrq field in DX_CAP. If the ca_mxtimefrq parameter for each SIT is
nonzero, it must have a value greater than or equal to the ca_timefrq parameter for the same
SIT.
Name: long ATDX_CPERROR(chdev)
Inputs: int chdev
valid channel device handle
Returns: call progress analysis error if success
AT_FAILURE if function fails
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( )