Previous PageTable Of Contents../index.htmlIndexNext Page

ATD4_CHTYPE( )

Description | Cautions | Example | Errors | See Also

Name:

int ATD4_CHTYPE(devh)

Inputs:

int devh

  channel descriptor

Returns:

channel type
0
-1

  returned channel type information (see below)

Includes:

D42LIB.H

Mode:

synchronous

Top Of PageDescription

The ATD4_CHTYPE( ) function returns the channel type of the queried device.

Channel Type

Description

TYP_D/82L4

Lucent Definity 75/85

TYP_D/82L2

Lucent Definity G3

TYP_D/82NS

Nortel Norstar

TYP_D/82M1

Nortel Meridian 1

   

Parameter

Description

devh:

specifies the valid channel device descriptor obtained by a call to dx_open( )

Top Of PageCautions

None.

Top Of PageExample

Top Of PageErrors

If this function returns -1 to indicate a failure, one of the following (most common) codes will be contained in dx_errno. For a complete list of error codes and definitions, refer to Appendix C.

EDX_TIMEOUT

Firmware does not respond within a specified time

ED42_BADDEVICE

Invalid or wrong device handle

ED42_UNSUPPORTED

Function not supported on this board

ED42_UNKNOWNBOARD

Unknown D/42-xx or PBX Integration board type

Top Of PageSee Also


Previous PageTable Of ContentsTop Of PageIndexNext Page

Click here to contact Dialogic Customer Engineering

Copyright 2001, Dialogic Corporation
All rights reserved
This page generated November, 2001