Previous PageTable Of Contents../index.htmlIndexNext Page

ATDX_CPERROR( )

Description | Cautions | Example | See Also

Name:

long ATDX_CPERROR(chdev)

Inputs:

int chdev

  valid Dialogic channel device handle

Returns:

Call Analysis error
AT_FAILURE if function fails

Includes:

srllib.h
dxxxlib.h

Category:

Extended Attribute

Top Of PageDescription

The ATDX_CPERROR( ) function returns the Call Progress error that caused dx_dial( ) to terminate when checking for operator intercept SIT tones.

When dx_dial( ) terminates due to a Call Analysis error, CR_ERROR is returned by ATDX_CPTERM( ).

If CR_ERROR is returned, use ATDX_CPERROR( ) to determine the Call Analysis error. One of the following values will be returned:

CR_LGTUERR

  • lower frequency greater than upper frequency

CR_MEMERR

  • out of memory when creating temporary SIT tone templates

CR_MXFRQERR

  • invalid ca_maxtimefrq field in DX_CAP

CR_OVRLPERR

  • overlap in selected SIT tones

CR_TMOUTOFF

  • timeout waiting for SIT tone to terminate

CR_TMOUTON

  • timeout waiting for SIT tone to commence

CR_UNEXPTN

  • unexpected SIT tone

CR_UPFRQERR

  • invalid upper frequency selection

The function parameter is defined as follows:

Parameter

Description

chdev

specifies the valid channel device handle obtained when the channel was opened using dx_open( ).

Top Of PageCautions

None.

Top Of PageExample

Top Of PageSee Also

Related to Call Analysis:


Previous PageTable Of ContentsTop Of PageIndexNext Page

Click here to contact Dialogic Customer Engineering

Copyright 2002, Dialogic Corporation
All rights reserved
This page generated February, 2002