Guest Jennifer Report post Posted 05/18/2007 05:19 PM Hi VG Team, I made a script where from a entered number the first and the second number are displayed using the VBS1 module. After that the script is writing some data to a file. After doing all this the script must end but it is taking the fail path as you can see in my script. on {fail} goto [say beep] on {success} goto [Hangup the Call 6] The beep starts at 134740.52 This is a part of the log file but I zipped it and send the whole file in an atachment. 134739.57 3 state [VBS2] Running VB Script... 134739.57 3 rv replace start (strlen>500) 134739.57 3 rvns [PathSysVoice]{C:\Program Files\VoiceGuide\system\voice\}[PathApp]{C:\Program Files\VoiceGuide\}[PathDataVm]{C:\Program Files\VoiceGuide\data\}[PathVgSys]{C:\Program Files\VoiceGuide\system\}[$RV_STARTTIME]{5/18/2007 1:47:31 PM}[$RV_DEVICEID]{3}[DlgcNetworkResource]{dxxxB1C3}[DlgcVoiceResource]{dxxxB1C3} $RV_CIDNAME]{}[PathApp]{C:\Program Files\VoiceGuide\}[scriptsPath]{F:\dat-01 IVR\10X\107 HoofdMap\SEND FAX TESTEN\RESULTAAT\}[$RV_CIDNUMBER]{}[EnterNr]{20000}[EnterNr_PathTaken]{success}[VBS1_ResultRetu n]{20} 134739.57 3 vbs run [vbs_3_2.vbs], cmd [wscript "C:\Program Files\VoiceGuide\temp\vbs_3_2.vbs" //I //T:60] 134739.59 3 WARN ProcessHandle (1576) still not closed, closing now. (VBS module) 134739.59 3 Run Script waiting. iRunWait=1 (shellid=2552, process=1576) 134739.59 3 timer set 1 EV_TIMEOUT_CHECKONSTATE 134739.59 3 tw DialogicEvent 129,TDX_PLAY,36482,0,0,,, 134739.59 3 event TDX_PLAY, iCode=129 state=1501 134739.59 3 LsRunWaitTillFinished TDX_PLAY,EV_UNKNOWN_129 134739.59 3 path {TDX_PLAY} not found 134740.51 3 timer fired EV_TIMEOUT_CHECKONSTATE 134740.51 3 event EV_TIMEOUT_CHECKONSTATE, iCode=9007 state=1501 134740.51 3 LsRunWaitTillFinished EV_TIMEOUT_CHECKONSTATE,EV_TIMEOUT_CHECKONSTATE 134740.51 3 path {EV_TIMEOUT_CHECKONSTATE} not found 134740.51 3 task completed (shellid=2552, process=1576) vgm=33, iRunWait=1, iRunWait_ExeResult_NextVgm=0 134740.51 3 no result file returned from program (VGRUNRESULT_3.TXT or SHLRESLT.TXT) 134740.52 3 next module is [say beep] (idx=32) 134740.52 3 task completed LsRunWaitChooseNext iNextVgm=32 134740.52 3 fn RunModule start [Play,[say beep],32,,] 134740.52 3 timer clear 134740.52 3 Play Module start 134740.52 3 state [say beep] Playing 134740.52 3 state [say beep] Playing (beep1.wav) 134740.52 3 tw ConvertWav2Vox F:\dat-01 IVR\10X\107 HoofdMap\SEND FAX TESTEN\RESULTAAT\beep1.wav Can you tell me what the problem is? I am sending you the log file. Thanks 0518vgm.zip SCRIPT.vgs Share this post Link to post
Guest Jennifer Report post Posted 05/18/2007 06:04 PM Hi VG Team, I made a script where from a entered number the first and the second number are displayed using the VBS1 module. After that the script is writing some data to a file. After doing all this the script must end but it is taking the fail path as you can see in my script. on {fail} goto [say beep] on {success} goto [Hangup the Call 6] The beep starts at 134740.52 This is a part of the log file but I zipped it and send the whole file in an atachment. 134739.57 3 state [VBS2] Running VB Script... 134739.57 3 rv replace start (strlen>500) 134739.57 3 rvns [PathSysVoice]{C:\Program Files\VoiceGuide\system\voice\}[PathApp]{C:\Program Files\VoiceGuide\}[PathDataVm]{C:\Program Files\VoiceGuide\data\}[PathVgSys]{C:\Program Files\VoiceGuide\system\}[$RV_STARTTIME]{5/18/2007 1:47:31 PM}[$RV_DEVICEID]{3}[DlgcNetworkResource]{dxxxB1C3}[DlgcVoiceResource]{dxxxB1C3} $RV_CIDNAME]{}[PathApp]{C:\Program Files\VoiceGuide\}[scriptsPath]{F:\dat-01 IVR\10X\107 HoofdMap\SEND FAX TESTEN\RESULTAAT\}[$RV_CIDNUMBER]{}[EnterNr]{20000}[EnterNr_PathTaken]{success}[VBS1_ResultRetu n]{20} 134739.57 3 vbs run [vbs_3_2.vbs], cmd [wscript "C:\Program Files\VoiceGuide\temp\vbs_3_2.vbs" //I //T:60] 134739.59 3 WARN ProcessHandle (1576) still not closed, closing now. (VBS module) 134739.59 3 Run Script waiting. iRunWait=1 (shellid=2552, process=1576) 134739.59 3 timer set 1 EV_TIMEOUT_CHECKONSTATE 134739.59 3 tw DialogicEvent 129,TDX_PLAY,36482,0,0,,, 134739.59 3 event TDX_PLAY, iCode=129 state=1501 134739.59 3 LsRunWaitTillFinished TDX_PLAY,EV_UNKNOWN_129 134739.59 3 path {TDX_PLAY} not found 134740.51 3 timer fired EV_TIMEOUT_CHECKONSTATE 134740.51 3 event EV_TIMEOUT_CHECKONSTATE, iCode=9007 state=1501 134740.51 3 LsRunWaitTillFinished EV_TIMEOUT_CHECKONSTATE,EV_TIMEOUT_CHECKONSTATE 134740.51 3 path {EV_TIMEOUT_CHECKONSTATE} not found 134740.51 3 task completed (shellid=2552, process=1576) vgm=33, iRunWait=1, iRunWait_ExeResult_NextVgm=0 134740.51 3 no result file returned from program (VGRUNRESULT_3.TXT or SHLRESLT.TXT) 134740.52 3 next module is [say beep] (idx=32) 134740.52 3 task completed LsRunWaitChooseNext iNextVgm=32 134740.52 3 fn RunModule start [Play,[say beep],32,,] 134740.52 3 timer clear 134740.52 3 Play Module start 134740.52 3 state [say beep] Playing 134740.52 3 state [say beep] Playing (beep1.wav) 134740.52 3 tw ConvertWav2Vox F:\dat-01 IVR\10X\107 HoofdMap\SEND FAX TESTEN\RESULTAAT\beep1.wav Can you tell me what the problem is? I am sending you the log file. Thanks Hi VG Team, Sorry for the second post. We are working together on this project how to automate a service bij sending a fax report after receiving some information that is written in to a txt file. Thanks Share this post Link to post
Guest Samuel Report post Posted 05/18/2007 11:55 PM Hello Jennifer I looked at y script. I don't know if this is a good solution to put at the fail path to go to the hangup module. I am wondering what solution Voice Guide has. I hope it works. Samuel Navier Share this post Link to post
SupportTeam Report post Posted 05/19/2007 01:25 AM Module [VBS2] is not returning a result indicating success, so the Fail path is taken. From the Help file: A "Success" or Result Variable list must be returned to VoiceGuide (either though a Run_ResultReturn COM function or a Result File) in order for it to go down the Success path. If no result is returned then the "Fail" path is taken after the VBScript completes. Calls to Script_Gosub(), Script_Goto() and Script_Return() functions result in immediate running of the next module. Share this post Link to post
Guest Jennifer Report post Posted 05/21/2007 12:28 PM Hi samuel, Thanks for your reply. I also was thinking that. Now It is clear how it is working. After I tried the option of Voice Guide with many options I noticed that it is going to the success path. Ok Thanks to you all. Share this post Link to post