Start Recording the sound from two lines into the specified line. Usually used to record the two sides on conversation on a conferenced call.


object.Record_2Lines_Start(iLineIdRec, iLineId1, iLineId2, sSoundFile, sOptionsXml)

Part Description
object VoiceGuide object
iLineIdRec LineID of the line handling the recording process.
iLineId1 Identification number of the first line to be recorded
iLineId2 Identification number of the second line to be recorded
sSoundFile The filename of the sound file to be recorded
sOptionsXml Record options


There must be an active call on both lines. If any other sound files are being played or recorded on either line at the time they are stopped and the new file is recorded.



set vg = CreateObject("vgServices.CommandLink")
vg.Record_2Lines_Start $RV_LINEID, $RV_LINEID, $RV[Conf_LineId_2], "c:\newfile.wav", ""
vg.Run_ResultReturn $RV_LINEID, "Success"
set vg = Nothing