Jump to content


< Back to Forum


 

Voiceguide 7.4. Script Goto Functionality


  • Please log in to reply

#1 Maciej 18 May 2017 - 06:01 PM

in VG ver 7.4. can working this?

set vg = CreateObject("vgServices.CommandLink")

vg.Record_Stop $RV[caller_lineid]

vg.Bridge_Disconnect $RV[caller_lineid], $RV[agent1_line_id]
vg.Script_Goto  $RV[agent1_line_id],"blind.vgs","test agentline", ""
vg.Script_Goto  $RV[caller_lineid],"blind.vgs","test clientline", ""

'vg.Run_ResultReturn $RV[caller_lineid], "success"
'vg.Run_ResultReturn $RV[agent1_line_id], "forward"

Can VG 7.4. start script on agent line?

 

log.

094846.709  96               Bridge_Disconnect iLineId1=49, iLineId2=142, iOtherLeg=142
094846.744  96 142  49 rem   Script_Goto 142, C:\Program Files (x86)\VoiceGuide\Scripts\manager\manager_fa_pbx_blind.vgs, test agentline, 
094846.755  96 142  49       no script running on line.
094846.756  96  49  17 rem   Script_Goto 49, blind.vgs, test clientline, 
094846.756   7  49  17       NewVgsVgm_Goto blind.vgs,test clientline,,,,0
094846.756   7  49  17       FindFullPathToScript_VgsOrVgp start [blind.vgs]
094846.756   7               LoadedVgs_Find blind.vgs at idx=26
094846.756   7  49  17       ScriptToRunOnHangup=[termination.vgs] in NewVgsVgm_SetVgsVgm 1
094846.756  85  49  17       runscr .Execute returned. iRunWait=1
094846.756  85  49  17       runscr RunWait_1 script completed


#2 SupportTeam 18 May 2017 - 06:11 PM

The "start script on agent line" command will work in v7.5

 

It will not work in v7.4