Previous PageTable Of Contents../index.htmlIndexNext Page

dx_initcallp( )

Description | Example | Cautions | See Also

Name:

int dx_initcallp(chdev)

Inputs:

int chdev

  valid Dialogic channel device handle

 

0

  success

 

-1

  failure

Returns:

srllib.h

 

dxxxlib.h

Category:

PerfectCall Call Analysis

Top Of PageDescription

The dx_initcallp( ) function initializes and activates PerfectCall Call Analysis on the channel identified by chdev. In addition, this function adds all tones used in Call Analysis to the channel's Global Tone Detection (GTD) templates.

To use PerfectCall Call Analysis, dx_initcallp( ) must be called prior to using dx_dial( ) on the specified channel. If dx_dial( ) is called before initializing the channel with dx_initcallp( ), then Call Analysis will operate in Basic mode only for that channel.

PerfectCall Call Analysis allows the application to detect three different types of dial tone, two busy signals, ringback, and two fax or modem tones on the channel. It is also capable of distinguishing between a live voice and an answering machine when a call is connected. Parameters for these capabilities are downloaded to the channel when dx_initcallp( ) is called.

The Voice Driver comes equipped with useful default definitions for each of the signals mentioned above. The application can change these definitions through the dx_chgdur( ), dx_chgfreq( ), and dx_chgrepcnt( ) functions. The dx_initcallp( ) function takes whatever definitions are currently in force and uses these definitions to initialize the specified channel.

Once a channel is initialized with the current tone definitions, these definitions cannot be changed for that channel without deleting all tones (dx_deltones( )) and re-initializing with another call to dx_initcallp( ). dx_deltones also disables PerfectCall Call Analysis. Note, however, that dx_deltones( ) will erase all user-defined tones from the channel (including any Global Tone Detection information), and not just the PerfectCall Call Analysis tones.

Parameter

Description

chdev

specifies the channel device handle.

Top Of PageExample

Top Of PageCautions

The channel must be idle.

Top Of PageSee Also


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