Record_Start

Start Recording the sound on the specified line.

Syntax

object.Record_Start(iLineId, sSoundFile, iPlayBeep, sOptionsXml)

Part Description
object VoiceGuide object
iLineId Identification number of the line
sSoundFile The filename of the sound file to be recorded
iPlayBeep 1 if a 'beep' is to be played before recording, 0 is no 'beep' is to be played
sOptionsXml Record options

Notes

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

 

Example

set vg = CreateObject("vgServices.CommandLink")
vg.Record_Start $RV_LINEID, "c:\newfile.wav", 1, ""
vg.Run_ResultReturn $RV_LINEID, "Success"
set vg = Nothing