Previous PageTable Of Contents../index.htmlIndexNext Page

dt_unlisten( )

Description | Cautions | Example | Errors | See Also

Name:

dt_unlisten(devh)

Inputs:

int devh

  digital network interface device time slot

Returns:

0 on success
-1 on error

Includes:

srllib.h
dtilib.h

Category:

SCbus Routing

Mode:

synchronous

Top Of PageDescription

The dt_unlisten( ) function disconnects the receive channel from the SCbus. This function disconnects the digital receive (listen) channel (T-1/E-1 time slot) such as on a D/240SC-T1 or D/300SC-E1 board from the SCbus time slot.

Calling the dt_listen( ) function to connect to a different SCbus time slot will automatically break an existing connection. Therefore, when changing connections, you need not call the dt_unlisten( ) function.

NOTE:
The SCbus convenience function nr_scunroute( ) includes dt_unlisten( ) functionality; see the SCbus Routing Function Reference.

Parameter

Description

devh:

Specifies a valid Digital Network Interface time slot device handle returned by a call to dt_open( )

Top Of PageCautions

This function will fail if an invalid time slot device handle is specified.

Top Of PageExample

Top Of PageErrors

If the function returns -1, use the SRL Standard Attribute function ATDV_LASTERR( ) to obtain the error code or use ATDV_ERRMSGP( ) to obtain a descriptive error message. The error codes returned by ATDV_LASTERR( ) are:

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