| DiaGlobWrapperScBusConnect Method |
diaGlobWrapper Help
Establishes an SCbus connection between two channels
Namespace: InkostarAssembly: DiaGlobWrapper (in DiaGlobWrapper.dll) Version: 0.0.0.0
Syntaxpublic void ScBusConnect(
Channel FirstChannel,
DiaGlobWrapperCommonScBusDeviceType FirstChannelDeviceType,
Channel SecondChannel,
DiaGlobWrapperCommonScBusDeviceType SecondChannelDeviceType,
DiaGlobWrapperCommonScBusConnectionType ConnectionType
)
Public Sub ScBusConnect (
FirstChannel As Channel,
FirstChannelDeviceType As DiaGlobWrapperCommonScBusDeviceType,
SecondChannel As Channel,
SecondChannelDeviceType As DiaGlobWrapperCommonScBusDeviceType,
ConnectionType As DiaGlobWrapperCommonScBusConnectionType
)
public:
void ScBusConnect(
Channel^ FirstChannel,
DiaGlobWrapperCommonScBusDeviceType FirstChannelDeviceType,
Channel^ SecondChannel,
DiaGlobWrapperCommonScBusDeviceType SecondChannelDeviceType,
DiaGlobWrapperCommonScBusConnectionType ConnectionType
)
member ScBusConnect :
FirstChannel : Channel *
FirstChannelDeviceType : DiaGlobWrapperCommonScBusDeviceType *
SecondChannel : Channel *
SecondChannelDeviceType : DiaGlobWrapperCommonScBusDeviceType *
ConnectionType : DiaGlobWrapperCommonScBusConnectionType -> unit
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