VoiceGuide IVR Software Main Page
Jump to content

Script Error

Recommended Posts

I have a number like 1,75 in which the "," is decimal for Greece and we are using the Number comma as Decimal

When the program tries to say the number we take a VBScript error

We are aso sending the logs created

post-2526-1200855303_thumb.jpg

0120tw.txt

0120vgm.txt

Share this post


Link to post

Both trace and the screenshot show that the number supplied to be spoken has a decimal pint between the "1" and the "75", so you should use the normal "Say Number" function, not the function which expects a comma instead of the decimal point.

 

204858.02 8 rv replace start: [$rv[Products_5_1]]

204858.02 8 rv ns [PathSysVoice]{C:\Program Files\VoiceGuide\system\voice\}[PathApp]{C:\Program Files\VoiceGuide\}[PathDataVm]{C:\Program Files\VoiceGuide\data\}[PathVgSys]{C:\Program Files\VoiceGuide\system\}[DNIS]{22900}[scriptsPath]{C:\Program Files\VoiceGuide\Scripts\Transfer 1\}[scriptPath]{C:\Program Files\VoiceGuide\Scripts\Transfer 1}[$RV_STARTTIME]{20/1/2008 8:48:31 ìì}[$RV_DEVICEID]{8}[$RV_CIDNAME]{_______}[PathApp]{C:\Program Files\VoiceGuide\}[$RV_CIDNUMBER]{33}[$RV_DNIS]{22900}[DNIS]{22900}[select Query]{9}[Get Numbers 15]{80199}[Get Numbers 15_PathTaken]{success}[Products_RowCount]{1}[Products_1_1]{08012008}[Products_2_

]{08012009}[Products_3_1]{210}[Products_4_1]{195}[Products_5_1]{1.75}[Products_6

1]{}[suntirisi]{timeout}[Epomeni]{timeout}[Xreosi]{timeout}[Pistosi]{timeout}

204858.02 8 rv replace end: [1.75]

204858.03 8 state [MPEK] Say numbers: [1.75] as Number - comma as decimal

204858.03 8 fn PlaySoundStartNumbers [C:\Program Files\VoiceGuide\system\voice\MPEK.wav],[],[1.75],Number - comma as decimal

204858.05 8 sVbsFunctionToUse=Number_CommaAsDecimal

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
×