Guest sharikou Report post Posted 01/13/2005 12:17 PM I setup a run program module to return some results based on caller ID. The program created a file VGRUNRESULT_5.txt (where 5 is the right device id, I used the $RV_DEVICEID as param to the program) under the same folder as my VGS script. like this [MyNum]{12345}[MyKey]{23456} the next module is a say numbers module, in which I put the number to say as $RV[MyNum] however, no matter what I try the $RV[MyNum] is simple empty Pleas help Share this post Link to post
SupportTeam Report post Posted 01/13/2005 01:28 PM Could you please post a copy of VoiceGuide's Debug Printout which captures the problem, this will allow us to see what is going wrong. When running the script click on VoiceGuide's View menu and select 'Event Trace Log' option - any log information will then appear in this window. You must open the trace window before making the call. Also please post the script which you are using. Which version of VoiceGuide are you running? Share this post Link to post
Guest sharikou Report post Posted 01/13/2005 03:32 PM I made it work by letting the external program write to the text file, then in next module, a VB script to read the file and set the $RV variables. Share this post Link to post
SupportTeam Report post Posted 01/13/2005 08:45 PM Iit still should be reading in the file within the same Run Program module instead - if you get a chance in future to post the trace from your system we'd be then able to assist. Share this post Link to post
Guest sharikou Report post Posted 01/15/2005 03:23 AM I think the run program module is rather unreliable. I tried using the VGRUNRESULT_.txt file, which was created in the $RV[scriptsPath] folder and appending with the $RV_DEVICEID number, but VG never picked up the file. Then I used the SHLRESLT.txt file, this time, VG was able to pickup the variables, but occasionally it failed to get the result. I changed the external program to delete the shlrslt.txt.last file before writing the shlrslt.txt file, it seems to improve the reliability a bit. When it failed to get the result, the trace just says no result file. Share this post Link to post
SupportTeam Report post Posted 01/15/2005 04:28 AM What sort of application is writing out the result file? Applications which don't ensure the operating system closes the file properly before exiting can cause such problems. We've found however that most apps are pretty reliable so we'd be interested to find out why you are experiencing such problems... It is worth noting that the best way to send the result back to VoiceGuide is to use the Run_ResultReturn COM function. Share this post Link to post