VoiceGuide IVR Software Main Page
Jump to content

Strange Language Setting Problem

Recommended Posts

Hello again.

 

I have been running a main script which runs a number of sub-scripts for some time without problems, the script is set to answer calls by default in the script properties options off the edit menu. The first module in this script sets the language RV by using an Fx-Eval module as documented. As stated, this has worked okay, for the main 'menu' script and the same path works in all subscripts. This has worked for a number of VG releases 5.2.x, the latest one I am using right now is vg5.2.5042.

 

See post: http://voiceguide.com/forums/index.php?showtopic=3497

 

Now, I wanted to explore disabling script answering, so that failover might be possible. Easy, I just set the script properties and put a check in the 'Start the script without answering the call' box so that if my database failed to run the script would not answer. This works as expected, BUT then I noticed that my LANGUAGE fx-eval was NOT working !!! All subsequent system WAVS are fetched by from the system voices, not the redirected path.

 

I can't see how these things are related. The first module, paths thru to a second fx-eval which does a DNIS test, then it calls a VBS module, then this calls a play module.

 

Ideally, all I want is ONE language setting at the top of the main script, irrespective of the answering checkbox. Then all scripts should use the setting for that call. Also, as mentioned in the linked post, this ONLY works from an eval module, not a VBS or other path setting module.

 

Can someone please take a look at this:

 

NOT WORKING

121644.81 17 timer clear

121644.81 17 state [setLanguagePath] Evaluate ["D:\VG\LANGUAGE\EN8K16"]

121644.81 17 .Eval(Cstr("D:\VG\LANGUAGE\EN8K16"))

121644.81 17 rv ns add [setLanguagePath_Input]{"D:\VG\LANGUAGE\EN8K16"}

121644.81 17 rv ns add [setLanguagePath]{D:\VG\LANGUAGE\EN8K16}

121644.81 17 rv ns add [DIRSYSTEMVOICE]{D:\VG\LANGUAGE\EN8K16}

121644.81 17 Eval Expr result:[D:\VG\LANGUAGE\EN8K16] stored in $RV[DIRSYSTEMVOICE]

121644.81 17 path {D:\VG\LANGUAGE\EN8K16} not found

...

121739.03 17 Started SayNumber VBScript OK. (C:\Program Files\VoiceGuide\temp\vbs_17_SayNumber.vbs)

121739.09 17 cl Play_Start D:\VG\KTRDEV16B\G04A.wav,0.wav,7.wav,4.wav,1.wav,2.wav,5.wav,8.wav,0.wav,9.wav,6.wav,3.wav,

:\VG\KTRDEV16B\G05.wav

121739.09 17 play set playid=867656

121739.09 17 PlaySoundStart ok [D:\VG\KTRDEV16B\G04A.wav,C:\Program Files\VoiceGuide\system\voice\0.wav,C:\Program Files\VoiceGuide\system\voice\7.wav,C:\Program Files\VoiceGuide\system\voice\4.wav,C:\Program Files\VoiceGuide\system\voice\1.wav,C:\Program Files\VoiceGuide\system\voice\2.wav,C:\Program Files\VoiceGuide\system\voice\5.wav,C:\Program Files\VoiceGuide\system\voice\8.wav,C:\Program Files\VoiceGuide\system\voice\0.wav,C:\Program Files\VoiceGuide\system\voice\9.wav,C:\Program Files\VoiceGuide\system\voice\6.wav,C:\Program Files\VoiceGuide\system\voice\3.wav,D:\VG\KTRDEV16B\G05.wav]

121739.09 17 timer clear

 

WORKING:

121813.50 17 timer clear

121813.50 17 state [setLanguagePath] Evaluate ["D:\VG\LANGUAGE\EN8K16"]

121813.50 17 .Eval(Cstr("D:\VG\LANGUAGE\EN8K16"))

121813.50 17 rv ns add [setLanguagePath_Input]{"D:\VG\LANGUAGE\EN8K16"}

121813.50 17 rv ns add [setLanguagePath]{D:\VG\LANGUAGE\EN8K16}

121813.50 17 rv ns add [DIRSYSTEMVOICE]{D:\VG\LANGUAGE\EN8K16}

121813.50 17 Eval Expr result:[D:\VG\LANGUAGE\EN8K16] stored in $RV[DIRSYSTEMVOICE]

121813.50 17 path {D:\VG\LANGUAGE\EN8K16} not found

...

121842.45 17 Started SayNumber VBScript OK. (C:\Program Files\VoiceGuide\temp\vbs_17_SayNumber.vbs)

121842.52 17 cl Play_Start D:\VG\KTRDEV16B\G04A.wav,0.wav,1.wav,9.wav,3.wav,7.wav,0.wav,7.wav,9.wav,D:\VG\KTRDEV16B\G05.wav

121842.52 17 play set playid=931078

121842.55 17 PlaySoundStart ok [D:\VG\KTRDEV16B\G04A.wav,D:\VG\LANGUAGE\EN8K16\0.wav,D:\VG\LANGUAGE\EN8K16\1.wav,D:\VG\LANGUAGE\EN8K16\9.wav,D:\VG\LANGUAGE\EN8K16\3.wav,D:\VG\LANGUAGE\EN8K16\7.wav,D:\VG\LANGUAGE\EN8K16\0.wav,D:\VG\LANGUAGE\EN8K16\7.wav,D:\VG\LANGUAGE\EN8K16\9.wav,D:\VG\KTRDEV16B\G05.wav]

121842.55 17 timer clear

 

Only difference is that the checkbox was set on for the first call, and set off for the second.

Share this post


Link to post

Logs for above, after a bit of testing. Logs contain VG Startup, 2 calls, VG shutdown.

 

1st call: run welcome.vgs WITH checkbox set not to answer. Result: language path not working.

 

2nd call: run welcome.vgs WITHOUT checkbox set (cleared). Result: language path works.

 

Weird! Hope you can fix this soon or provide a workaround. Thanks in advance.

KTRUK60329.zip

Share this post


Link to post

Seems to work !! - Many thanks. You must be on a roll fixing things. I am really very pleased and impressed that recent problems have been addressed in such a timely manner. Its appreciated - thanks.

Share this post


Link to post

Glad to hear that's fixed that particular issue for you.

The changes included in the supplied .exe will soon be included in the main 5.x release.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×