Bridge_Connect

Connects two calls together, allowing callers on the two lines to speak to each other.

Syntax

sResult = object.Bridge_Connect(iLineId1, iLineId2)

or

sResult = object.Bridge_Connect(sChName1, sChName2)

Part Description
object Required. VoiceGuide object
iLineId1 Required. Identification number of the first line
iLineId2 Required. Identification number of the second line
sChName1 Required. The name of the first Dialogic channel.
sChName2 Required. The name of the second Dialogic channel.
sResult Optional. Empty string if function completed OK, otherwise it will contain the error description.

Notes

This command needs to be issued only once to connect two calls together. It does not matter which of the lines issues the call - both lines will be able to hear and speak to each other.

 

Examples

Example 1: Using 'Line ID' identifiers

set vg = CreateObject("vgServices.CommandLink")
vg.Bridge_Connect $RV_LINEID, iSecondLineId
vg.Run_ResultReturn $RV_LINEID, "Success"
set vg = Nothing

Example 2: Using Dialogic channel descriptors

set vg = CreateObject("vgServices.CommandLink")
vg.Bridge_Connect "dxxxB1C3", "dxxxB2C1"
vg.Run_ResultReturn $RV_LINEID, "Success"
set vg = Nothing

Example 3: Using Dialogic channel descriptors

set vg = CreateObject("vgServices.CommandLink")
vg.Bridge_Connect("dtiB1T21", "dtiB2T13")
vg.Run_ResultReturn $RV_LINEID, "Success"
set vg = Nothing