Line_Pickup
Answer an incoming call and run VoiceGuide script.
Syntax
object.Line_Pickup iLineId, sVgScriptToRun
Part | Description |
object | Required. VoiceGuide object |
iLineId | Required. Identification number of the line. If set to 0 then the first device controlled by VoiceGuide will answer the call. |
sVgScriptToRun | Required. VG Script to run after answering call |
Notes
There must be an incoming call on the line.
Example
set vg =
CreateObject("vgServices.CommandLink")
vg.Line_Pickup $RV_LINEID, "C:\Scripts\CallRec\RecCall1.vgs"
vg.Run_ResultReturn $RV_LINEID, "Success"
set vg = Nothing