VoiceGuide IVR Software Main Page
Jump to content

Error Reading Numbers Dates

Recommended Posts

Hello, recently installed a server that is a copy of another that I have installed for 6 years.
The only difference is the version of VG running. I use a proper .vbs for reading numbers and dates, because they have to read them in neutral Spanish, and can not do with the .vbs (libnum2.wav) come in install package, but my vbs work correctly on more than 10 servers.
Apparently there is an error in reading the data in version 7.5.0

logs.zip

Share this post


Link to post

Sounds like on previous systems you have been using a are using modified lib_num2wav.vbs file to read out numbers/dates in Spanish. Is that correct?

In v7.5 the approach to spekaing numbers has changed, but lib_num2wav.vbs can still be used by simply modifying an entry in VG.INI.

Please see the "Changing the way Say Number module speaks numbers" section of: http://www.voiceguide.com/vghelp/source/html/modsaynumber.htm

Share this post


Link to post

Could you please post the lib_num2wav.vbs which you are using, we can then try to see what is the cause of problems on your system.

Share this post


Link to post

Sounds like on previous systems you have been using a are using modified lib_num2wav.vbs file to read out numbers/dates in Spanish. Is that correct?

Yes, I have more than 10 serves, and sounds corrects

 

In v7.5 the approach to spekaing numbers has changed, but lib_num2wav.vbs can still be used by simply modifying an entry in VG.INI.

 

Please see the "Changing the way Say Number module speaks numbers" section of: http://www.voiceguide.com/vghelp/source/html/modsaynumber.htm

 

The vg.ini file is set to VBScript

VG.INI file setting. In VG.INI, section [moduleSayNumbers], change the entryWavListGenerator from DLL to VBScript.

 

Share this post


Link to post

Could you please post the lib_num2wav.vbs which you are using, we can then try to see what is the cause of problems on your system.

If you want to see how the VBscript is done, I will send a copy tomorrow.
If you want to test if it works, is already used in more than 10 servers for more than 5 years.

I discovered something, the script lib_num2.wav works, because the numbers that are entered using the phone read correctly.
It does not work when dates or numbers retrieved from the customer database is go to read.
The effect is a silence that does not play any sound when you should play those dates or numbers. The call does not hangup, only still silent

Share this post


Link to post

Please post the modified lib_num2wav.vbs which you are using, we can then try to see what is the cause of problems on this system.

Share this post


Link to post

In VG.INI in section [moduleRunScript] please set:

 

SaveToFile=1

 

Then run a test call and then .ZIP up and post the entire directory;

 

C:\Program Files\VoiceGuide\temp\

 

(or just the vbs_?_SayNumber.vbs files from that directory - which is all that we need)

Share this post


Link to post

Please update your system to this version of VoiceGuide:

 

 

[old link removed. please use latest version of VoiceGuide]

 

 

This version should fix the issue that you have experienced.

To change from one release of VoiceGuide v7 to another:
1. Stop VoiceGuide Service and exit all VoiceGuide programs. (eg Script Designer, Voicemail Manager, etc) and all other programs.
2. Run the VoiceGuide install and install into same directory as existing installation. (Do NOT uninstall the previous VoiceGuide installation).
3. Start  VoiceGuide service.

Running a VoiceGuide install over the top of an existing install will NOT overwrite existing configuration or license files (Config.xml, ConfigLine.xml, VG.INI, VmBoxList.xml, etc) 
and will not remove any of users script or sound files, and will not remove any log files etc.

Share this post


Link to post

These daily builds are only made available for download for a couple of days.

 

Please try this version now:

 

[old link removed. please use latest version of VoiceGuide]

 

This version contains the changes as well.

Share this post


Link to post

I have read errors yet.
This is a second server for the same client .
The first server is running for along 6 years on 6.03xxx version.

If it possible to obtain a download of this version?

Share this post


Link to post

Do you still have problems with your custom lib_num2wav.vbs when using the "151103_krca" point release?

 

If so then could you please post the vgEngine logs from your system that capture the problems call?

 

Can you also please post the vgEngine trace from the 6 year old server showing system startup and the call during which your custom lib_num2wav.vbs is used.

Share this post


Link to post

The older VoiceGuide v6 is still available for download from our Downloads page. It is version v6.0.3391.

Share this post


Link to post

I stiil have the same problem. The other server is installed with the 6.0.3010 version.
I can download this version? (6.0.3010)

logs.rar

Share this post


Link to post

In attached trace there is only one call to a 'Say Numbers' module, and it is tospeak the digits "01".

 

lib_num2wav.vbs was used to generate the list of .WAVs to play. (as VG.INI entry WavListGenerator was set to "VBScript")

 

It looks like file at C:\Program Files (x86)\VoiceGuide\system\vbs\lib_num2wav.vbs was your lib_num2wav.vbs file as the list of prompts to play that was returned by it was:

 

Prompts\ConSerie.wav,0.wav,1.wav

 

The play was now started started fine:

 

161942.408 7 7 4 q_tel + cmd_PlayStart 341848 ,C:\Program Files (x86)\VoiceGuide\Scripts\Roosevelt Roads\Prompts\ConSerie.wav,C:\Program Files (x86)\VoiceGuide\system\voice\0.wav,C:\Program Files (x86)\VoiceGuide\system\voice\1.wav []

 

Did you hear those sound files being played?

 

 

.

161942.356   7   7   4 state [ConSerie] Say Numbers: 01 as Digits
161942.360   7   7   4       PlaySoundStartNumbers Prompts\ConSerie.wav, , 01, Digits
161942.360   7   7   4       PlaySoundStartNumbers sSayNumbers_VBScriptFunctionToUse=Digits
161942.360   7   7   4       starting C:\Program Files (x86)\VoiceGuide\temp\vbs_7_SayNumber.vbs Digits [01]
161942.360   7   7   4 t     timer set   1 sec : EV_TIMEOUT_CHECKONSTATE
161942.360   7   7   4       PlaySoundStartNumbers returned
161942.360   4   7   4 task  runscr Run_VBS vgm=41, file=C:\Program Files (x86)\VoiceGuide\system\vbs\lib_num2wav.vbs, engine=[ClearScriptV8]
161942.361   4   7   4       runscr strIni_moduleRunScript_Engine=ClearScriptV8
161942.361   4   7   4 state [ConSerie] RunScript file=C:\Program Files (x86)\VoiceGuide\system\vbs\lib_num2wav.vbs
161942.361   4   7   4       runscr strToRun_InFile_FullPath exists: C:\Program Files (x86)\VoiceGuide\system\vbs\lib_num2wav.vbs
161942.362   4   7   4       there are 1 matches for WScript. WScript and CScript references will be removed
161942.385   4   7   4       not saving script (strIni_moduleRunScript_SaveToFile is False|0)
161942.386   4   7   4       runscr waiting. wait=1
161942.386   4   7   4       moh file not specified
161942.386   4   7   4       runscr call ClearScript Execute
161942.386   4   7   4       runscr new VBScriptEngine call
161942.387   4   7   4       runscr .Execute call
161942.403  21         rem   remoting link constructor activated: vgServices_CommandLink
161942.405  21   7   4 rem   Play_Start Prompts\ConSerie.wav,0.wav,1.wav
161942.406  21   7   4       q_scr +     cmdPlayWavTts 0
161942.407   7   7   4       q_scr run   cmdPlayWavTts sCode=[] iActionID=0, crn=0 [41|0|0|0|0][Prompts\ConSerie.wav,0.wav,1.wav|||||] 00:00:00 max:2|00:00:00.0900052
161942.407   7   7   4       PrepareAndPlayWavAndTts start iModuleIdx=41, iPlayFileIdx=0, bMakeTtsFile=True, sSoundFileIs=Prompts\ConSerie.wav,0.wav,1.wav
161942.407   7   7   4       PrepareAndPlayWavAndTTS sPlayFile=Prompts\ConSerie.wav,0.wav,1.wav
161942.407   7   7   4 state [ConSerie] Playing wav (Prompts\ConSerie.wav,0.wav,1.wav)
161942.407   7   7   4 state [ConSerie] Playing wav (Prompts\ConSerie.wav,0.wav,1.wav)
161942.407   7   7   4       FindSoundFile start [Prompts\ConSerie.wav]
161942.407   7   7   4       FindSoundFile start [0.wav]
161942.408   7   7   4       FindSoundFile start [1.wav]
161942.408   4   7   4       engineVbs dispose call
161942.408   4   7   4       runscr .Execute returned. iRunWait=1
161942.408   4   7   4       runscr RunWait_1 script completed
161942.408   4   7   4       runscr sModuleClearScriptProcessWasCalledFrom is current module ConSerie, clearing setting
161942.408   4   7   4       runscr RunWait_1 taking fail path as script completed and no next module set
161942.408   7   7   4 t     timer clear (force=False)
161942.408   7   7   4       q_tel +     cmd_PlayStart 341848 ,C:\Program Files (x86)\VoiceGuide\Scripts\Roosevelt Roads\Prompts\ConSerie.wav,C:\Program Files (x86)\VoiceGuide\system\voice\0.wav,C:\Program Files (x86)\VoiceGuide\system\voice\1.wav []
161942.409   7   7   4       play  start ok, playId=341848
161942.409   8   7   4       q_tel run   cmd_PlayStart 0 00:00:00 max:1|00:00:00.3270187
161942.414   4   7   4       HangupCall (RunModule_Script_AfterScriptStarted_2) crn_in=0, L1=Connected, L2=Running_Normal, lPlayId=341848, lRecId=0
161942.414   4   7   4       ccrn_connected=10000001, crn_NewCallArriving=0, crn_CurrentMakeCall=0, crn_InProcessOfReleasing=0
161942.414   4   7   4       q_tel +     cmd_PlayStop [0,0,0,0,0][||||]
161942.414   4   7   4       play  PlaySoundStop ok
161942.414   4   7   4       rv    add   Hangup Source|RunModule_Script_AfterScriptStarted_2
161942.415   4   7   4       HangupCall sScriptToRunOnHangup=[]
161942.416   4   7   4       after hangup script as supplied: []
161942.416   4   7   4       AfterHangup script not set.
161942.416   4   7   4       rv    add   DropCall_Source|ConSerie
161942.417   4   7   4       crn 0 set to crn_connected 10000001
161942.417   4   7   4       L1_set Disconnect_Pending (iState=LS_RUN_WAITTILLFINISHED)
161942.451   4   7   4 state Hanging up... [RunModule_Script_AfterScriptStarted_2]

Share this post


Link to post

We had a second look at this trace and it looks like on this system the older lib_num2wav.vbs approach to do Say Numbers was ran using the new version of running scripts rather then the older (wscript) way.

 

We will setup some test next to confirm if latest build version fixes this issue and advise.

 

 

 

Alternatively, as a temporary workaround to get the older lib_num2wav.vbs approach to do Say Numbers on your system with version currently installed please try setting the VG.INI in section [moduleRunScript] this entry:

 

Engine=wscript

 

After restarting the VoiceGuide service to read in this new VG.INI setting you should find that the older lib_num2wav.vbs approach to do Say Numbers will now work.

Share this post


Link to post

Just a note on this topic, we have now confirmed that that the new version is able to use the lib_num2wav.vbs approach for Say Numbers modifications in both ways. Both the older WScript approach to VBScript execution and the newer internal way of running VBScripts will both work.

 

The new way of using .DLL file to modify the Say Numbers functions is still the recommended approach if the modifications to that module are required in VoiceGuide v7.

Share this post


Link to post

Traces show that the Say Numbers module generated the list of sound files to play using your lib_num2wav.vbs file and that those sound files were then played.

 

Can you advise what is the actual problem that you have experienced?

 

Trace show that following sound files were played by the Say Numbers module (using your lib_num2wav.vbs file) :

 

C:\Program Files (x86)\VoiceGuide\Scripts\Roosevelt Roads\Prompts\ConSerie.wav,

C:\Program Files (x86)\VoiceGuide\system\voice\0.wav,

C:\Program Files (x86)\VoiceGuide\system\voice\1.wav,

 

Did you expect different sound files to play?

 

Or was the problem something else?

 

 

.

898 123129.764   616   5 fn    PlayStart(iLineId=5, sFileList=,C:\Program Files (x86)\VoiceGuide\Scripts\Roosevelt Roads\Prompts\ConSerie.wav,C:\Program Files (x86)\VoiceGuide\system\voice\0.wav,C:\Program Files (x86)\VoiceGuide\system\voice\1.wav, sXMLOptions=)
899 123129.764   616           ExtractFromOptionsXml_Keys iKeysDefLen=0
900 123129.764   616           ExtractFromOptionsXml_Keys :
901 123129.764   616   5       PlayStart (hLine=5, strSoundFile=,C:\Program Files (x86)\VoiceGuide\Scripts\Roosevelt Roads\Prompts\ConSerie.wav,C:\Program Files (x86)\VoiceGuide\system\voice\0.wav,C:\Program Files (x86)\VoiceGuide\system\voice\1.wav, iPlayId=85205(0x14cd5), iParam1=0, iParam2=0, zsParam1=, zsParam2=, keys-notused)
902 123129.764   616   5       play  start (hli=0AF86190, strSoundFile=,C:\Program Files (x86)\VoiceGuide\Scripts\Roosevelt Roads\Prompts\ConSerie.wav,C:\Program Files (x86)\VoiceGuide\system\voice\0.wav,C:\Program Files (x86)\VoiceGuide\system\voice\1.wav, iPlayId=85205(0x14cd5), iParam1=0, iParam2=0, zsParam1=, zsParam2=)
903 123129.765   616           wav: format=7, channels=1, hz=11025, bytes/sec=11025, bytes/sample=1, bits/sample=8, DataBlockSize=11006  C:\Program Files (x86)\VoiceGuide\Scripts\Roosevelt Roads\Prompts\ConSerie.wav
904 123129.765   616   5       iXpbSampleRateDRT_FirstFile = DRT_11KHZ
905 123129.765   616   5       iXpbBitsPerSample_FirstFile = 8 (as per returned data)
906 123129.765   616   5       XpbDataFormat: DATA_FORMAT_MULAW, rate_const=0x58, bits=8 (iWavFilesEncodingFormat_LastFile=7)
907 123129.765   616           wav: format=7, channels=1, hz=11025, bytes/sec=11025, bytes/sample=1, bits/sample=8, DataBlockSize=9599  C:\Program Files (x86)\VoiceGuide\system\voice\0.wav
908 123129.765   616           wav: format=7, channels=1, hz=11025, bytes/sec=11025, bytes/sample=1, bits/sample=8, DataBlockSize=6529  C:\Program Files (x86)\VoiceGuide\system\voice\1.wav
909 123129.765   616   5       buffer merge add loop hPlayIott_Curr=0xf2ec5f0, ptrVoiceData=0xf355cd0, io_bufp=0xf336ec0, io_length=11004
910 123129.765   616   5       buffer merge add loop hPlayIott_Curr=0xf2ebda8, ptrVoiceData=0xf355cd0, io_bufp=0xf3399d0, io_length=9597
911 123129.765   616   5       buffer merge add loop hPlayIott_Curr=0xf2ecd98, ptrVoiceData=0xf355cd0, io_bufp=0xf354338, io_length=6527
912 123129.765   616   5       buffer merge end. calc=27128, copied=27128. hPlayIott_Start=0xf2ecd98
913 123129.766   616   5       dx_setevtmsk => 0
914 123129.769   616   5       dx_clrsvcond => 0
915 123129.771   616   5       dx_setsvmt SV_SPEEDTBL ok
916 123129.773   616   5       dx_getsvmt ok
917 123129.773   616           SV_SPEEDTBL decrease [ -128 -128 -128 -128 -128 -50 -40 -30 -20 -10 ]
918 123129.773   616           SV_SPEEDTBL origin 0
919 123129.773   616           SV_SPEEDTBL increase [ 10 20 30 40 50 -128 -128 -128 -128 -128 ]
920 123129.775   616   5       dx_getcursv 2 Volume = 4 Speed = 0
921 123129.775   616   5       KeyControlsUsed false
922 123129.779   616   5       dx_adjsv dev=5, speed, reset => 0 (no speed keys set on play)
923 123129.779   616   5       play xpb: wDataFormat=7, wFileFormat=1, nSamplesPerSec=0x58, wBitsPerSample=8 ()
924 123129.779   616   5       play(5, iott=0xf2ecd98 (len=27128, buff=0xf355cd0), tpt=0x0, xpb=0xaf87260) call
925 123129.780   616   5       play(5, 0xf2ecd98, tpt=0x0, xpb=0xaf87260) => 0, hli=0AF86190
926 123132.314  2728   5       ev idx=33 : evttype=129(129), crn=0, data=0468C040(094E1EF0), len=0(0) q: 0/0
927 123132.314  2728   5 ev    TDX_PLAY (Play Completed)



123128.670   7   5   3 state [ConSerie] Say Numbers: 01 as Digits
123128.675   7   5   3       PlaySoundStartNumbers Prompts\ConSerie.wav, , 01, Digits
123128.675   7   5   3       PlaySoundStartNumbers sSayNumbers_VBScriptFunctionToUse=Digits
123128.675   7   5   3       starting C:\Program Files (x86)\VoiceGuide\temp\vbs_5_SayNumber.vbs Digits [01]
123128.675   7   5   3 t     timer set   1 sec : EV_TIMEOUT_CHECKONSTATE
123128.675   7   5   3       PlaySoundStartNumbers returned
123128.675   5   5   3 task  runscr Run_VBS vgm=41, file=C:\Program Files (x86)\VoiceGuide\system\vbs\lib_num2wav.vbs, engine=[wscript]
123128.675   5   5   3       runscr strIni_moduleRunScript_Engine=wscript
123128.675   5   5   3 state [ConSerie] RunScript file=C:\Program Files (x86)\VoiceGuide\system\vbs\lib_num2wav.vbs
123128.675   5   5   3       runscr strToRun_InFile_FullPath exists: C:\Program Files (x86)\VoiceGuide\system\vbs\lib_num2wav.vbs
123128.676   5   5   3       there are 1 matches for WScript. WScript and CScript references will be removed
123128.677   5   5   3       saving script strIni_moduleRunScript_SaveToFile=False
123128.677   5   5   3       delete existing: C:\Program Files (x86)\VoiceGuide\temp\vbs_5_SayNumber.vbs
123128.678   5   5   3       script written to (overwriting previous): C:\Program Files (x86)\VoiceGuide\temp\vbs_5_SayNumber.vbs
123128.678   5   5   3       runscr waiting. wait=1
123128.678   5   5   3       moh file not specified
123128.678   5   5   3       runscr call Run_VBS_UsingWSH
123128.678   5   5   3       runscr start - Run_VBS_UsingWSH C:\Program Files (x86)\VoiceGuide\temp\vbs_5_SayNumber.vbs
123128.678   5   5   3       runscr on_hold_file=, iModuleIdx=41
123128.678   5   5   3       RunVbsFromFile_UseShellExecute [wscript][cscript][C:\Program Files (x86)\VoiceGuide\temp\vbs_5_SayNumber.vbs][] timeout=30 (vbsPath=C:\Program Files (x86)\VoiceGuide\temp), start (new Process)
123128.678   5   5   3       objProcess.Start call
123128.693   5   5   3       objProcess.Start returned. handle=12128, id=2972, hash=797974, starttime=12/7/2015 12:31:28 PM, HasExited=False
123128.693   5   5   3       runscr objVbsOrExeProcess started [C:\Program Files (x86)\VoiceGuide\temp\vbs_5_SayNumber.vbs], handle=12128, id=2972
123128.693   5   5   3       runscr objVbsOrExeProcess.WorkingSet=131072
123128.693   5   5   3       Run Script waiting. iRunWait=1 (process_handle=12128, id=2972)
123128.694   5   5   3 t     timer set   1 sec : EV_TIMEOUT_CHECKONSTATE
123128.694   5   5   3       runscr Run_VBS_UsingWSH returned
123129.629   4   5   3 timer EV_TIMEOUT_CHECKONSTATE
123129.629   4   5   3       q_scr +     evScriptEvent 9007 EV_TIMEOUT_CHECKONSTATE
123129.629   7   5   3       q_scr run   evScriptEvent sCode=[EV_TIMEOUT_CHECKONSTATE] iActionID=0, crn=0 [0|0|0|0|0][|||||] 00:00:00 max:2|00:00:00.0540031
123129.629   7   5   3       se    EV_TIMEOUT_CHECKONSTATE 9007  0|0|0  || LineState=LS_RUN_WAITTILLFINISHED
123129.629   7   5   3       LsRunWaitTillFinished EV_TIMEOUT_CHECKONSTATE lCode2Str=EV_TIMEOUT_CHECKONSTATE
123129.630   7   5   3       IsProcessRunning current objVbsOrExeProcess (vbsrun) : id=2972, handle=12128, hash=797974, hasExited=False, startTime=12/7/2015 12:31:28 PM, exitTime=notretrieved
123129.630   7   5   3       IsProcessRunning Process.HasExited is false (awaiting process end or COM function call) handle=12128, id=2972, StartTime=12/7/2015 12:31:28 PM
123129.630   7   5   3       .ExitTime returned error.
123129.630   7   5   3       LsRunWaitTillFinished: process still running
123129.630   7   5   3 t     timer set   1 sec : EV_TIMEOUT_CHECKONSTATE
123129.756  10         rem   remoting link constructor activated: vgServices_CommandLink
123129.761  10   5   3 rem   Play_Start Prompts\ConSerie.wav,0.wav,1.wav
123129.762  10   5   3       q_scr +     cmdPlayWavTts 0
123129.763   7   5   3       q_scr run   cmdPlayWavTts sCode=[] iActionID=0, crn=0 [41|0|0|0|0][Prompts\ConSerie.wav,0.wav,1.wav|||||] 00:00:00 max:2|00:00:00.0540031
123129.763   7   5   3       PrepareAndPlayWavAndTts start iModuleIdx=41, iPlayFileIdx=0, bMakeTtsFile=True, sSoundFileIs=Prompts\ConSerie.wav,0.wav,1.wav
123129.763   7   5   3       PrepareAndPlayWavAndTTS sPlayFile=Prompts\ConSerie.wav,0.wav,1.wav
123129.763   7   5   3 state [ConSerie] Playing wav (Prompts\ConSerie.wav,0.wav,1.wav)
123129.763   7   5   3       FindSoundFile start [Prompts\ConSerie.wav]
123129.763   7   5   3       FindSoundFile start [0.wav]
123129.764   7   5   3       FindSoundFile start [1.wav]
123129.764   7   5   3 t     timer clear (force=False)
123129.764   7   5   3       q_tel +     cmd_PlayStart 85205 ,C:\Program Files (x86)\VoiceGuide\Scripts\Roosevelt Roads\Prompts\ConSerie.wav,C:\Program Files (x86)\VoiceGuide\system\voice\0.wav,C:\Program Files (x86)\VoiceGuide\system\voice\1.wav []
123129.764   7   5   3       play  start ok, playId=85205
123129.764   8   5   3       q_tel run   cmd_PlayStart 0 00:00:00 max:1|00:00:00.3240186
123132.314  18   5   3 ev    PlayEnd 5 85205 [bytes_played:0:0, bytes_in_file27128]

Share this post


Link to post

This time indeed is creating the string of wav files and playing it. The problem this time is that once the string of wav files is played it never returns back to continue with the next step of the script. Is like it plays the first string of wav files and it hangs there forever. The line monitor indicates it is in the function play and does nothing else, we have to either hang the phone or drop the call by using the line monitor.

 

For me there are still compatibility issues with this version, and we are in a very urgent need to solve this situation. For us is a better solution to go back to a version that is 100% guaranteed that will support the VBScripts as we have it. We are no longer selling this solution and for us is not feasible at this time to develop a Dll to play the Spanish prompts.

 

Version 6.0.3010 is the one we know for sure that works fine. I do remember that we installed once a V7 but do not have documented the exact release.

 

The client is about to cancel the order, and we are about to loose this deal. Please, Please we need a definite solution to this problem. Again we prefer to go back to a release that is 100% guaranteed that will work, we have no more time to continue testing.

 

Please let us know.

Share this post


Link to post

OK, so this time the issue was not that the sound files were not playing, but that the script did not go to the next module after the sound files were played.

 

Is the script using a 'Timeout 0' path to go to the next module afterwards?

 

Please update system to latest release.

 

We have confirmed that in this release the Timeout 0 path will be taken as expected in situations where the old lib_num2wav.vbs way of speaking the numbers is used - regardless of in what way the lib_num2wav.vbs way is interpreted (either WSH/wscript or internal)

 

 

Also, we do not have versions from 6 years ago available for download.

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
×