Previous PageTable Of Contents../index.htmlIndexNext Page

dx_TSFStatus( )

Description | Cautions | Example | Errors | See Also

Name:

int dx_TSFStatus ( void )

Inputs:

None

 

Returns:

0

  TSF loading was successful

 

non-zero value

  TSF loading failed; see EDX error codes for reason

Includes:

dxxxlib.h

Category:

Configuration

Mode:

synchronous

Top Of PageDescription

The dx_TSFStatus( ) function returns the status of TSF loading. Tone Set File (TSF) loading is an optional procedure used to customize the default PerfectCall Call Progress Analysis tone definitions with TSF tone definitions created by PBXpert. TSF loading occurs when you execute your application and a valid, existing TSF was configured and enabled through the TSF Configuration application Advanced Options window.

The following procedure describes how to use a PBXpert Tone Set File:

  1. Install a valid downloadable Tone Set File that was created and consolidated by PBXpert.
  2. Use the TSF Configuration application Advanced Options window to enable TSF usage and to specify the path and file name.
  3. Execute your application. If the specified TSF is valid, enabled, and can be located, the TSF data is loaded.

Top Of PageCautions

None.

Top Of PageExample

Top Of PageErrors

If this function returns a negative value (corresponding to the EDX_ define below), it indicates that the TSF failed to load for one of the following error reasons:

EDX_SYSTEM

Error from operating system; use dx_fileerrno( ) to obtain error value. Failed to load the PBXPERT.DLL.

EDX_BADREGVALUE

Unable to locate value in registry. The TSF Configuration application Advanced Options window does not specify a TSF name and therefore the registry either doesn't contain a value for "TSF Download File" or the PBXpert key is missing.

EDX_BADTSFFILE

The TSF specified by the TSF Configuration application Advanced Options window does not exist or is not a valid TSF file.

EDX_BADTSFDATA

TSF data not consolidated. The TSF specified by the TSF Configuration application Advanced Options window does not contain valid downloadable data.

EDX_FEATUREDISABLED

The TSF feature is disabled in the TSF Configuration application Advanced Options window.

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