VoiceGuide IVR Software Main Page
Jump to content

Say Number Decimal Error

Recommended Posts

Hello,

 

Currently having a problem with Voiceguide reading numbers from the Say Number module.

 

When attempting to speak a number from a database ex. 707.99

 

the system reads the decimal point as sound file can not be found.

 

 

When looking in the log it attemts to reference the file "..wav" which can not exist in windows. I thought that this was supposed to be read as "point.wav" ?

 

[ Play_Start C:\Program Files\Voiceguide\XO\AccountBalanceIs_1.wav,7.wav,0.wav,7.wav,..wav,9.wav,9.wav ]

 

I have attached log

 

Thanks

 

XO

0605vgm.txt

Share this post


Link to post
Which version of VoiceGuide are you using?

 

 

Voiceguide 5.2.5049 Enterprise TAPI version.

 

Can't figure what the problem is

 

XO

Share this post


Link to post

Please unzip attached file and place the lib_num2wav.vbs file in VoiceGuide's \system\vbs\ subdirectory (overwriting file currently there)

 

You appear to have an older version of lib_num2wav.vbs. (can you tell us the date/time of the lib_num2wav.vbs file you currently have?)

lib_num2wav.zip

Share this post


Link to post
Please unzip attached file and place the lib_num2wav.vbs file in VoiceGuide's \system\vbs\ subdirectory (overwriting file currently there)

 

You appear to have an older version of lib_num2wav.vbs. (can you tell us the date/time of the lib_num2wav.vbs file you currently have?)

 

File was last modified 15 jan 2006.

 

it now doesnt read anything after the decimal point. just 707.

 

XO

Share this post


Link to post

OK, I see that you are using the "Digits" function, and not the "Number" function.

 

Attached version would say the "point.wav" in the "Digits" function as well.

 

Its strange that it did not say the numbers after the decimal point though, would have expected them to be spoken.

 

Please post the trace is you still have any problems.

lib_num2wav.zip

Share this post


Link to post
OK, I see that you are using the "Digits" function, and not the "Number" function.

 

Attached version would say the "point.wav" in the "Digits" function as well.

 

Its strange that it did not say the numbers after the decimal point though, would have expected them to be spoken.

 

Please post the trace is you still have any problems.

 

[AccountBalance-Get_RowCount]{1}[AccountBalance-Get_1_1]{707.99}

165916.69 0 rv replace end: [C:\Program Files\Voiceguide\XO\AccountBalanceIs_1.wav]

165916.69 0 rv replace start: [C:\Program Files\Voiceguide\XO\Dollars_$RV[GetLang].wav, C:\Program Files\Voiceguide\XO\RepeatGoBack_$RV[GetLang].wav]

165916.69 0 rv ns [PathSysVoice]{C:\Program Files\VoiceGuide5\system\voice\}[PathApp]{C:\Program Files\VoiceGuide5\}[PathDataVm]{C:\Program Files\VoiceGuide5\data\}[PathVgSys]{C:\Program Files\VoiceGuide5\system\}[scriptsPath]{C:\Program Files\VoiceGuide5\XO IVR\}[scriptPath]{C:\Program Files\VoiceGuide5\XO IVR}[$RV_STARTTIME]{6/06/2007 4:58:35 p.m.}[$RV_DEVICEID]{0}[$RV_CIDNAME]{}[PathApp]{C:\Program Files\VoiceGuide5\}[$RV_CIDNUMBER]{}[$RV_DNIS]{}[DNIS]{}[GetLang]{1}[set English Language_Input]{"C:\Program Files\Voiceguide\System\Voice_English"}[set English Language]{C:\Program Files\Voiceguide\System\Voice_English}[DIRSYSTEMVOICE]{C:\Program Files\Voiceguide\System\Voice_English}[CustomerNumber]{75744566}[CustomerNumber_PathTaken]{success}

LoginAttempts-Get_RowCount]{1}[LoginAttempts-Get_1_1]{0}[LoginAttempts-Exceeded_Input]{0 < 3}[LoginAttempts-Exceeded]{True}[CustomerData_RowCount]{1}[CustomerData_1_1]{3592}[CustomerData_2

1]{7573}[CustomerData_3_1]{V}[CustomerData_4_1]{3702}[AccountValid_Input]{= V}[AccountValid]{= V}[PinNumber]{7573}[PinNumber_PathTaken]{success}[PinNumber-Compare_Input]{"7573"="7573"}[PinNumber-Compare]{True}[MakeTime-Login_Input]{"06" + "/" + "06" + "/" + "20" + "07" + " " + "16" + ":" + "58" + ":" + "52"}[MakeTime-Login]{06/06/2007 16:58:52}[startTime-Post_RowCount]{1}[ResetSecurity_RowCount]{1}[MainMenu]{2}[AccountBalance-Get_RowCount]{1}[AccountBalance-Get_1_1]{707.99}

165916.69 0 rv replace end: [C:\Program Files\Voiceguide\XO\Dollars_1.wav, C:\Program Files\Voiceguide\XO\RepeatGoBack_1.wav]

165916.69 0 sVbsFunctionToUse=Digits

165916.91 0 Started SayNumber VBScript OK. (C:\Program Files\VoiceGuide5\temp\vbs_0_SayNumber.vbs)

165917.13 0 cl Play_Start C:\Program Files\Voiceguide\XO\AccountBalanceIs_1.wav,7.wav,0.wav,7.wav,point.wav,C:\Program Files\Voiceguide\XO\Dollars_1.wav,C:\Program Files\Voiceguide\XO\RepeatGoBack_1.wav

165917.13 0 play set playid=432796

165917.18 0 PlaySoundStart ok [C:\Program Files\Voiceguide\XO\AccountBalanceIs_1.wav,C:\Program Files\Voiceguide\System\Voice_English\7.wav,C:\Program Files\Voiceguide\System\Voice_English.wav,C:\Program Files\Voiceguide\System\Voice_English\7.wav,C:\Program Files\Voiceguide\System\Voice_English\point.wav,C:\Program Files\Voiceguide\XO\Dollars_1.wav,C:\Program Files\Voiceguide\XO\RepeatGoBack_1.wav]

165917.18 0 timer clear

 

Part of the log from just now. It now reads "seven, zero, seven, point" then stops.

 

Thanks

 

XO

Share this post


Link to post

Do you get correct results when using the "Number" or "Amount - Dollars and Cents" option in the Say Number module?

 

Can you please post the trace (.ZIPed) capturing the entire call as well as this file which is created by VoiceGuide: "C:\Program Files\VoiceGuide5\temp\vbs_0_SayNumber.vbs"

Share this post


Link to post
Do you get correct results when using the "Number" or "Amount - Dollars and Cents" option in the Say Number module?

 

Can you please post the trace (.ZIPed) capturing the entire call as well as this file which is created by VoiceGuide: "C:\Program Files\VoiceGuide5\temp\vbs_0_SayNumber.vbs"

 

 

No, when set to number it says "seven hunded seven".

 

Files attached.

VG.zip

Share this post


Link to post
Do you get correct results when using the "Number" or "Amount - Dollars and Cents" option in the Say Number module?

 

Can you please post the trace (.ZIPed) capturing the entire call as well as this file which is created by VoiceGuide: "C:\Program Files\VoiceGuide5\temp\vbs_0_SayNumber.vbs"

 

I just tested this on a Dialogic version of Voiceguide we run.

 

When set to 'Digits' it says "seven zero seven point" then stops [this is with the updated vbs file you sent me] using the original one, it says "seven zero seven nine nine"

 

XO

Share this post


Link to post

Thanks for the posts. We found the bug in lib_num2wav.zip. It was not saying the "9" at all when the digits were being spoken.

 

needed to change;

 

ElseIf sDigit >= "0" and sDigit < "9" then

 

to:

 

ElseIf sDigit >= "0" and sDigit <= "9" then

 

This would not have affected any "9"s before the decimal point...

 

Please update to the attached lib_num2wav.zip, it should now work.

lib_num2wav.zip

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
×