Previous PageTable Of Contents../index.htmlIndexNext Page

ATDX_CONNTYPE( )

Description | Cautions | Example | Errors | See Also

Name:

long ATDX_CONNTYPE(chdev)

Inputs:

int chdev

  valid Dialogic channel device handle

Returns:

connection type
AT_FAILURE if error

Includes:

srllib.h
dxxxlib.h

Category:

Extended Attribute

Top Of PageDescription

The ATDX_CONNTYPE( ) function returns the connection type for a completed call on the channel device. Use this function when a CR_CNCT is returned by ATDX_CPTERM( ) after termination of dx_dial( ) with Call Analysis enabled.

Possible return values are the following:

CON_CAD

  • Connection due to cadence break

CON_LPC

  • Connection due to loop current

CON_PVD

  • Connection due to Positive Voice Detection

CON_PAMD

  • Connection due to Positive Answering Machine Detection

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 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