Play_Start

Plays a sound file on the specified line.

Syntax

object.Play_Start(iLineId, sSoundFiles)

Part Description
object VoiceGuide object
iLineId Identification number of the line
sSoundFiles The sound file to be played. Multiple sound files can be specified, separated by commas.

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 played.

 

Example

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