Open a channel using Global Call. This is primarily used for support for DM/V boards.
[Visual Basic] Public Shared Function OpenGCPort( _ ByVal portname As String, _ ByVal board As Integer, _ ByVal protocol As String _ ) As Integer
[C#] public static int OpenGCPort( stringportname, intboard, stringprotocol );
Parameters
portname
The name of a valid Dialogic device. This is a pointer to a string that contains the board number and channel. For example for board 1 channel 1, the name would be dtiB1T1. Board 2 channel 4 would be dtiB2T4. If you want to set DTI board-level parameters, you use the function to open the board. The port_name of the board would be something like dtiB1.
board
Set to 1 (TRUE) if you are opening a board – not a specific channel on a board. Otherwise send a 0 (FALSE) if you are opening a channel.
protocol
SThe name of the protocol to use. If you are using ISDN, pass “isdn”. Some other examples would be: br_r2_i, pdk_ar_r2_io, ar_r2_i, pdk_na_an_io.
Return Value
Failure = -1. Network device handle if successful.