Bridge_Disconnect
Disconnects the two lines. Callers on the two lines will no longer be able to speak to each other.
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. |
Notes
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
vg.Run_ResultReturn $RV_LINEID, "Success"
set vg = Nothing
Example 2: Using Dialogic channel descriptors (Analog cards)
set vg = CreateObject("vgServices.CommandLink")
vg.Bridge_Disconnect "dxxxB1T3", "dxxxB4T1"
vg.Run_ResultReturn $RV_LINEID, "Success"
set vg = Nothing
Example 3: Using Dialogic channel descriptors (Digital cards)
set vg = CreateObject("vgServices.CommandLink")
vg.Bridge_Disconnect("dtiB1T21", "dtiB2T13")
vg.Run_ResultReturn $RV_LINEID, "Success"
set vg = Nothing