Previous PageTable Of Contents../index.htmlIndexNext Page

gl_routerxtx( )

Description | Example | Errors

Name:

int gl_routerxtx (int bddev, int chan, int rxslot, int txslot)

Inputs:

int bddev

  • Purpose: unused - for compatibility with Dialogic software.
  • Range: Must be -1.

int chan

  • Purpose: logical fax channel.
  • Range: 1 -- 60, inclusive.

int rxslot

  • Purpose: receive PEB timeslot.
  • Range: 1 -- 30, inclusive, for E1; 1 -- 24, inclusive, for T1 to connect a receive timeslot to the fax channel; 0 to leave current receive timeslot configuration of fax channel unchanged; -1 to disconnect the receive timeslot of fax channel.

int txslot

  • Purpose: transmit PEB timeslot.
  • Range: 1 -- 30, inclusive, for E1;
    1 -- 24, inclusive, for T1 to connect a transmit timeslot to the fax channel; 0 to leave current transmit timeslot configuration of fax channel unchanged; -1 to disconnect the transmit timeslot of fax channel.

Returns:

0

  • Success.

-1

  • Error.

Includes:

gfpeb.h

 

Top Of PageDescription

The gl_routerxtx( ) function connects and disconnects fax channels to transmit and receive PEB timeslots.

The gl_routerxtx( ) function establishes a connection between a logical fax channel and a pair of PEB timeslots. The transmit and receive timeslots are selected independently. Either or both timeslots can be disconnected. Either or both timeslots can be left unchanged.

If gl_routerxtx( ) is being used to establish a connection and the fax channel is already connected to a PEB timeslot, the existing connection will be removed before the specified connection is established.

If gl_routerxtx( ) is being used to remove a connection and no connection currently exists between the fax channel and a PEB timeslot gl_routerxtx( ) will return an indication of success.

Top Of PageExample

Top Of PageErrors


Previous PageTable Of ContentsTop Of PageIndexNext Page

Click here to contact Dialogic Customer Engineering

Copyright 2000, Dialogic Corporation
All rights reserved
This page generated January, 2002