Bridge_Disconnect
|
VoiceGuide COM Reference
|
Disconnects the two calls. Callers
on the two lines will no longer 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_Disconnect(iLineId1,
iLineId2)
or
sResult =
object.Bridge_Disconnect(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 disconnect the two calls. It does not matter which of
the lines issues the call - both lines will not be able to hear and
speak to each other any more.
Examples
Example 1: Using line ID
numbers
set vg =
CreateObject("vgServices.CommandLink")
vg.Bridge_Disconnect $RV_LINEID, iSecondLineId
set vg = Nothing
Example 2: Using Dialogic channel
descriptors (Analog cards)
set vg =
CreateObject("vgServices.CommandLink")
vg.Bridge_Disconnect "dxxxB1T3", "dxxxB4T1"
set vg = Nothing
Example 3: Using Dialogic channel
descriptors (Digital cards)
set vg =
CreateObject("vgServices.CommandLink")
sResult = vg.Bridge_Disconnect("dtiB1T21", "dtiB2T13")
if sResult <> "" then
MsgBox sResult
end if
set vg = Nothing
|