Previous PageTable Of Contents../index.htmlIndexNext Page

ATDX_CPTERM( )

Description | Cautions | Example | Errors | See Also

Name:

long ATDX_CPTERM(chdev)

Inputs:

int chdev

  valid Dialogic channel device handle

Returns:

last Call Analysis termination if successful
AT_FAILURE if error

Includes:

srllib.h
dxxxlib.h

Category:

Extended Attribute

Top Of PageDescription

The ATDX_CPTERM( ) function returns thelast result of Call Progress termination on the channel chdev. Call this function to determine the call status after dialing out with Call Analysis enabled.

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( ).

Possible return values are the following:

CR_BUSY

  • Busy

CR_CEPT

  • Operator intercept

CR_CNCT

  • Connect

CR_FAXTONE

  • Called line answered by fax machine or modem

CR_NOANS

  • No answer

CR_NODIALTONE

  • Timeout occurred while waiting for dial tone

CR_NORB

  • No ringback

CR_STOPD

  • Stopped

CR_ERROR

  • Error

Top Of PageCautions

None.

Top Of PageExample

Top Of PageErrors

This function will fail and return AT_FAILURE if an invalid channel device handle is specified in chdev.

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