Bridge_Connect
|
VoiceGuide COM Reference
|
Connects two calls together.
Callers on on each line will will be able to speak to each
other.
This command will only work when
the following Dialogic cards are used: D/41EPCI, D/41ESC,
D/41JCT-LS, D/120JCT-LS, D/160SC-LS and all digital cards: D/240SC,
D/300SC etc.
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.
|
|
Remarks
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
numbers
set vg =
CreateObject("vgServices.CommandLink")
vg.Bridge_Connect $RV_LINEID, iSecondLineId
set vg = Nothing
Example 2: Using Dialogic channel
descriptors (Analog cards)
set vg =
CreateObject("vgServices.CommandLink")
vg.Bridge_Connect "dxxxB1T3", "dxxxB4T1"
set vg = Nothing
Example 3: Using Dialogic channel
descriptors (Digital cards), and if an error is returned then
display the error in a message box
set vg =
CreateObject("vgServices.CommandLink")
sResult = vg.Bridge_Connect("dtiB1T21", "dtiB2T13")
if sResult <> "" then
MsgBox sResult
end if
set vg = Nothing
|