Click or drag to resize
DiaGlobWrapperScBusConnect Method
diaGlobWrapper Help
Establishes an SCbus connection between two channels

Namespace: Inkostar
Assembly: DiaGlobWrapper (in DiaGlobWrapper.dll) Version: 0.0.0.0
Syntax
public void ScBusConnect(
	Channel FirstChannel,
	DiaGlobWrapperCommonScBusDeviceType FirstChannelDeviceType,
	Channel SecondChannel,
	DiaGlobWrapperCommonScBusDeviceType SecondChannelDeviceType,
	DiaGlobWrapperCommonScBusConnectionType ConnectionType
)

Parameters

FirstChannel
Type: InkostarChannel
The first channel to be connected.
FirstChannelDeviceType
Type: InkostarDiaGlobWrapperCommonScBusDeviceType
The SCbus timeslot type of the first channel to be connected. Voice, Analogue or Digital
SecondChannel
Type: InkostarChannel
The second channel to be connected.
SecondChannelDeviceType
Type: InkostarDiaGlobWrapperCommonScBusDeviceType
The SCbus timeslot type of the second channel to be connected. Voice, Analogue or Digital
ConnectionType
Type: InkostarDiaGlobWrapperCommonScBusConnectionType
Whether the connection between the two time slots should be made in full or half duplex
Remarks
This function can be used as a substitute to a call transfer by using two separate channels.
Compatibility: All
On failure this function will generate an exception of type DiaGlobWrapperLibException
Examples
To connect voice timeslots of both channels in full-duplex:
C#: objDevice.ScBusConnect(ChannelInbound, Inkostar.DiaGlobWrapperCommon.ScBusDeviceType.Voice, ChannelOutbound, Inkostar.DiaGlobWrapperCommon.ScBusDeviceType.Voice, DiaGlobWrapperCommon.ScBusConnectionType.FullDuplex);
VB.NET: objDevice.ScBusConnect(ChannelInbound, Inkostar.DiaGlobWrapperCommon.ScBusDeviceType.Voice, ChannelOutbound, Inkostar.DiaGlobWrapperCommon.ScBusDeviceType.Voice, DiaGlobWrapperCommon.ScBusConnectionType.FullDuplex)
See Also