Kate Report post Posted 06/11/2004 01:28 PM Hi, I'm using licensed voiceguide version 5.2.1005 on w2k with an external SupraExpress voice capable modem. Problem - the script runs fine until I get to the speak numbers module where it seems to either take the success route too quickly and go straight to the next module having only said one or two of the required 4 digits. Or if I don't specify the success route only a timeout/fail it hang-up immediately. Also if I specify it to play a wave file immediately before the required digits it moves straight to the next module without playing anything. All the wave files are in the specified format and I have doubled check them all in different locations in the script and they work fine. I have uninstalled and reinstalled the drivers, rebooted on several occasions made the script as simple as possible but I am still no further forward. Any help would be much appreciated. Thank you in advance. logfiles.zip Share this post Link to post
SupportTeam Report post Posted 06/11/2004 10:36 PM Did you modify the lib_num2wav.vbs script which is responsible for playing of the numbers? Trace shows playing of "1270" started fine: 102104.70 1 cl Play_Start 1.wav,2.wav,7.wav,0.wav but then what is calling all those "RvGet" COM functions afterwards, and then calling Run_ResultReturn ? If you call Run_ResultReturn then the path corresponding the returned result is taken - that is why you see the script jump to the module [Play 39] and starting to play thanx.wav which interrupts the playback of the "1270". 102105.85 1 [Play 39] Playing (VoiceFiles\thanx.wav) You should not be modifying lib_num2wav.vbs to do any Run_ResultReturn calls - have a look how other functions in lib_num2wav.vbs are written. If you still have problems please post your script and the lib_num2wav.vbs file for VG's \system\vbs\ subdirectory. 102104.22 1 [sayRec2] Say numbers: 1270 as Digits 102104.23 1 fn PlaySoundStartNumbers , , 1270, Digits 102104.24 1 sVbsFunctionToUse=Digits 102104.35 1 Started SayNumber VBScript OK. (C:\Program Files\VoiceGuide\data\vbs_1_SayNumber.vbs) 102104.70 1 cl Play_Start 1.wav,2.wav,7.wav,0.wav 102104.85 1 PlaySoundStart ok [C:\Program Files\VoiceGuide\system\voice\1.wav,C:\Program Files\VoiceGuide\system\voice\2.wav,C:\Program Files\VoiceGuide\system\voice\7.wav,C:\Program Files\VoiceGuide\system\voice\0.wav] 102104.85 1 TimeoutClear 102104.86 1 wa(3074,94536903) 102104.91 1 cl RvGet $RV[Get Numbers 2] 102104.91 1 RVreplace start: [$RV[Get Numbers 2]] 102104.92 1 RVreplace end: [11111] 102104.95 1 cl RvGet $RV[donset] 102104.95 1 RVreplace start: [$RV[donset]] 102104.96 1 RVreplace end: [11/06/2004] 102104.97 1 cl RvGet $RV[tmonset] 102104.98 1 RVreplace start: [$RV[tmonset]] 102104.99 1 RVreplace end: [09:30:00] 102105.02 1 cl RvGet $RV[Get Numbers 7] 102105.02 1 RVreplace start: [$RV[Get Numbers 7]] 102105.04 1 RVreplace end: [1] 102105.05 1 cl RvGet $RV[bldsugar] 102105.05 1 RVreplace start: [$RV[bldsugar]] 102105.07 1 RVreplace end: [9.8] 102105.11 1 cl RvGet $RV[Get Numbers 23] 102105.11 1 RVreplace start: [$RV[Get Numbers 23]] 102105.12 1 RVreplace end: [12] 102105.13 1 cl RvGet $RV[GetRec_1_1] 102105.14 1 RVreplace start: [$RV[GetRec_1_1]] 102105.15 1 RVreplace end: [1270] 102105.16 1 cl RvGet $RV[bICut] 102105.17 1 RVreplace start: [$RV[bICut]] 102105.18 1 RVreplace end: [95] 102105.82 1 cl Run_ResultReturn >>success<< 102105.83 1 rv add [sayRec2_ResultReturn]{success} 102105.84 1 TimeoutClear 102105.84 1 [Play 39] Playing 102105.85 1 [Play 39] Playing (VoiceFiles\thanx.wav) 102106.23 1 PlaySoundStart ok [VoiceFiles\thanx.wav] Share this post Link to post
Kate Report post Posted 06/14/2004 04:04 PM Hi, I'm still having problems as the only file I can recall altering is the vg.ini file and not the say numbers file. There is a fax.vgs which gets run after the hangup 26 module could that be getting called too early or maybe one of the pervious vbScript/programmes be returning it's value too late??? I'm not clear where this run_resultreturn is coming from.... Thanks for your help logs.zip Share this post Link to post
SupportTeam Report post Posted 06/15/2004 03:41 AM I'm not clear where this run_resultreturn is coming from.... Whatever is calling this Run_ResultReturn is what is causing the problem. What programs do you have that are doing all those RvGet calls? It should not be had to figure out... what did you write that does the RvGet for these RVs before calling Run_ResultReturn: $RV[Get Numbers 2] $RV[donset] $RV[tmonset] $RV[Get Numbers 7] $RV[bldsugar] $RV[Get Numbers 23] $RV[GetRec_1_1] $RV[bICut] do you have some external program doing this? Share this post Link to post