$RV[PathApp] is not a VoiceGuide system RV, are you sure that your script doesnot creae this $RV itself?
The code below is from "C:\Program Files (x86)\VoiceGuide\Scripts\Pickup Line And Record\StartRec.vbs" that are installed with VG as a sample script (,thus it is not an RV created by us):
As you can see, there is no "\" between the provided RV and "Scripts....", which will break with this version of VG.
set vg = CreateObject("VoiceGuide.CommandLink")vg.Line_Pickup 0, "$RV[PathApp]Scripts\Pickup Line And Record\Pickup Line And Record.vgs"'we have now started recording on the 1st device controlled by VG.'now lets show a box which allows user to stop recording:msgbox "Recording now..." & vbCrLf & "Press OK to stop.", vbOKOnly + vbInformation , "VG Call Recorder"
There is another example in "C:\Program Files (x86)\VoiceGuide\System\vm\vm_ftp.vbs", which is not made by us either. This script also uses [PathApp] RV, and does not include "\" before "log\...." either.
Set ftpcmds = fso.OpenTextFile(InFile, ForWriting, True)'OutFile : stores FTP responses'OutFile = fso.GetSpecialFolder(TemporaryFolder) & "\" & fso.GetTempNameOutFile = "$RV[PathDataVm]" & "vm_ftp_ret_$RV_MM$RV_DD$RV_HH$RV_NN$RV_SS_$RV_LINEID.txt"OutFile_SaveLog = "$RV[PathApp]" & "log\$RV_MM$RV_DDftp.txt"
So, your fix to call a defined vbs upon "OnNotAnswered" correctly, but when executing the vbs, it break because the path defined inside that vbs file to set a path to an inclusive fails.
Please see attached file and the VBS file. I assure you it has been working fine before this patch.
For the tts issue, I added another set of log, which shows the call gets stuck on "PlayCallOutGreetings."
I waited about 55 seconds and hung up because it does not proceed after "tts generate start..."
I can see 0 byte of wav file ("tts_3_1.wav" in this example) is created in "temp" folder, but the process does not proceed further.