VoiceGuide IVR Software Main Page
Jump to content

Pathing Within Vg

Recommended Posts

I am set up to execute VG 5.2.1 on a PC from its local drive (C:) and I'm developing scripts on a server (N:) so that they get backed-up along with all out other development projects.

 

VG seems to want to find its .wav files on C: but in a folder in a structure that doesn't exist on that drive.

 

This is the relevant part of the log file.

 

 

142049.79 6 [say_Club_Name] Playing (C:\Program Files\VoiceGuide\data\tts6.wav)

142049.79 6 PlaySoundStart ok [C:\Program Files\VoiceGuide\data\tts6.wav]

142049.81 6 TimeoutClear

142049.81 6 wa(4203,36965600)

142049.81 6 callinfo MONITORMODES

142054.03 6 wb(36965600)

142054.09 6 Play End line[6] (id=369656)

142054.09 6 ScriptEventCode 8001 iLineState=1100

142054.09 6 LsPlayMsg EV_PLAY_FINISHED

142054.09 6 TimeoutSet 10 EV_TIMEOUT_HANGUP

142054.09 6 TimeoutSet 0 EV_TIMEOUT_GOTOMODULE

142054.09 6 ScriptEventCode 9002 iLineState=1101

142054.09 6 LsPlayMsgFinished EV_TIMEOUT_GOTOMODULE

142054.09 6 TimeoutClear

142054.11 6 RVreplace start: [$RV[ClubName Query_3_1].]

142054.11 6 RVns [PathSysVoice]{}[PathApp]{C:\Program Files\VoiceGuide\}[PathDataVm]{C:\Program Files\VoiceGuide\data\}[PathVgSys]{C:\Program Files\VoiceGuide\system\}[$RV_STARTTIME]{04/03/2004 14:20:37}[$RV_DEVICEID]{6}[$RV_CIDNAME]{}[PathApp]{C:\Program Files\VoiceGuide\}[$RV_CIDNUMBER]{}[Welcome]{1}[Get_Club_ID]{001001}[Get_Club_ID_PathTaken]{suc

ess}[ClubName Query_RowCount]{1}[ClubName Query_1_1]{Albanians FC}[ClubName Query_2_1]{4}[ClubName Query_3_1]{0604}

142054.11 6 RVreplace end: [0604.]

142054.11 6 [say_Week_Ending_Date] Say numbers: 0604. as Date - DDMM

142054.11 6 fn PlaySoundStartNumbers , , 0604., Date - DDMM

142054.11 6 sVbsFunctionToUse=DateDDMM

142054.14 6 Started SayNumber VBScript OK. (C:\Program Files\VoiceGuide\data\vbs_6_SayNumber.vbs)

142054.18 6 cl Play_Start place06.wav,month4..wav

142054.20 6 File not found [month4..wav]

142054.21 6 PlaySoundStart ok [C:\Program Files\VoiceGuide\system\voice\place06.wav,C:\Program Files\VoiceGuide\system\voice\SoundFileNotFound.wav]

142054.21 6 TimeoutClear

 

How do I manage this?

Share this post


Link to post

What we are seeing here is not a problem with running scripts from networked drives (with which VG does not have a problem) but something else...

 

Did you modify the lib_num2wav.vbs file at all? (This is the vbs which generates the list of sound files which needs to be played to say times/dates etc.) It looks like the file has been modified by somebody and now there is a bug with the way it generates the sound file list...

 

Look in the log file we see:

 

142054.18 6 cl Play_Start place06.wav,month4..wav

 

notice the double full stop...

 

The original lib_num2wav.vbs which ships with VG is attached to this message, I'd suggest you place it in VG's \system\vbs\ subdirectory, overwriting the file that is there currently...

lib_num2wav.vbs

Share this post


Link to post

No one has modified that file; not deliberately anyway.

 

What I have done is upgrade from the version 4 that preceded 5.2 and then again from 5.2 to 5.2.1. It may be that the vbs file you've noticed got corrupted in that process?

 

I'll put the file you've appended on tomorrow and see how I go.

 

I was going to sum up everything that I've discovered with VG in one go but I'll mention a few things now while they are at the front of my mind.

 

The non-scrolling design page is a real pain; having to find the scroll bar to move the page up and down drives me mad.

 

The lack of a snap-to-grid option to help align the modules gets irritiating.

 

Drawing paths between modules on the screen and then setting their properties would be better technology than the current text based approach.

 

In the pathing function there really should be an else or otherwise option so that all key presses can be catered for.

 

The short or full height option should apply to the whole script; having to individually turn it on and off for modules one by one is a real ache.

 

The font size used in the title bar of modules should be smaller (or automatically self sizing?) so that long module names aren't truncated.

 

The inability to play .txt files (using the TTS engine) in script design mode is a real showstopper.

 

In a Play module you should be able to play both standing files (.wav and .txt) and freehand text; at the moment the boxes are exclusive and I can't see why this has to be the case.

 

If one is being strictly logical then the need for both boxes is redundant; why not just allow text and file names to be intermixed in one, single box and play them in the sequence they are encountered. At the end of the day the distinction seems artificial and unnecessary.

 

The option to print the script as a program list rather than as a picture of the design page is well hidden. I know it exists but I can't find it. It really ought to be on the design toolbar.

 

The log system needs verbosity level control; at the moment it's very hard to sort the wheat from the chaff specially in any sort of lengthy script or where there is flow control that repeats sections.

 

The search function on the Support Forum (provided by the My Assistant feature) is too trivial, it needs to be beefed up to allow compound/complex searches. You might be better off with Atomz or ISYS (an Australian company!)

 

Notwithstanding any of the above support is exceptional, always first class and very prompt.

 

That will do for now.

Share this post


Link to post

Some of the things that are mentioned above can be done right now:

Drawing paths between modules on the screen and then setting their properties would be better technology than the current text based approach.

Right Click on the module's command button (the button with the graphic telling you what type of module it is) then select the type of path, then click on the destination module to which the path is to go.

The short or full height option should apply to the whole script; having to individually turn it on and off for modules one by one is a real ache.

Setting View->Module Height will result all new modules displayed in selected height.

The option to print the script as a program list rather than as a picture of the design page is well hidden. I know it exists but I can't find it.

You can just open the .VGS file in Notepad.

The search function on the Support Forum (provided by the My Assistant feature) is too trivial, it needs to be beefed up to allow compound/complex searches. You might be better off with Atomz or ISYS (an Australian company!)

The "Site Search" text box (available on just about every page) allows searching thorugh the archives of older posts as well - it is powered using the Google search engine so you can use complex search commands.

Share this post


Link to post

Looking at the first post again I realize that the problem is really with the script..

you have:

 

$RV[ClubName Query_3_1].

 

Specified in the [say_Week_Ending_Date] module - get rid of the full stop after the "]" and things should be fine...

Share this post


Link to post

Thanks for that; I'd spotted the full stop myself and removed it "just in case". As I'd, in the meantime, moved the script back to C:, I wasn't able to work out what had made the difference and what had had no effect.

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
×