Record_2Lines_Start

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

Syntax

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

Notes

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.

 

Example

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