Previous PageTable Of Contents../index.htmlIndexNext Page

d42_closefeaturesession( )

Description | Cautions | Example | Errors | See Also

Name:

int d42_closefeaturesession(devh)

Inputs:

int devh

  channel device

Returns:

0
-1

  if success

Includes:

D42LIB.H

Mode:

immediate

Top Of PageDescription

The d42_closefeaturesession( ) function closes a feature session on a specified channel. Once the feature session is closed the special functions that require a feature session to be open may not be used, for example, d42_writetodisplay( ).

Parameter

Description

channel

specifies the channel number.

Top Of PageCautions

This function is valid only with the Nortel Norstar PBX.

This function sets the parameter values for the channel parameters D4CH_SOFTKEYINPUT and D4CH_TERMINATEFEATURE to 0 for disabled.

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.

ED42_BADDDEVICE

Invalid or wrong device handle sent to the function

ED42_NOFEATURESESSION

No feature session has been opened on the channel.

ED42_UNSUPPORTED

Function not supported on this board

ED42_SYSTEM

System level error

ED42_INVALARG

Invalid argument passed to function

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