VoiceGuide IVR Software Main Page
Jump to content

Say Numbers Error

Recommended Posts

I am trying to use the say number module in a script, and I keep getting the following:

 

184908.11 8 [LiveAnswer] Say numbers: 123456789 as Digits

184908.11 8 fn PlaySoundStartNumbers C:\Wave\Spinnaker\JPALLAM.wav, C:\Wave\Spinnaker\TMALLLA.wav, 123456789, Digits

184908.11 8 ERROR 5.1.2076 RunModule:0:76:Path not found:VoiceGuide

184908.12 8 Hanging up call... [RunModule Error]

 

I have installed all Windows updates, and Microsoft Speach SDK 5.1. Is there something else I need to install? I am using version 5.1.2076 Professional. Let me know if you need additional information.

Share this post


Link to post

Not too sure which SayNumber scripts were shipped with v5.1.2076 - but it looks like a problem with the lib_num2wav.vbs (SayNumber) script... can you please update your install to current release (v5.1.4 or later) and try this again...

 

Best to install v5.1.4 in a different directory - or delete the entire directory tree after uninstalling the current version...

Share this post


Link to post

I uninstalled 5.1.2, remove the directory from program files, and installed the 5.1.4 download. I replicated the script in upgraded version's script builder and noticed a box asking to "save changes to module" which I had never seen before. Now, the script gets to the say numbers module and just sits there until you push a number on the telephone keypad. It won't play wav files or speak numbers. The play wav file module works fine, so I don't think the sound is the problem. I have attached this script, but to run it you will need to set up the ODBC datasource, ect..

spinnakerconcierge3.vgs

Share this post


Link to post

Just tested it and confirmed that there were no problems with it playing digits when using v5.1.4

 

Here is a trace produced on the test machine (saying 1234 as digits):

 

093509.72  6 [say Numbers 1] Say numbers: 1234 as Digits

093509.72  6 fn    PlaySoundStartNumbers , , 1234, Digits

093509.72  6 sVbsFunctionToUse=Digits

093509.84  6 Started SayNumber VBScript OK. (C:\ProjectsBak\vg32 5.1.3\data\vbs_6_SayNumber.vbs)

093509.84  6 callinfo MONITORMODES

093509.98  6 cl    Play_Start 1.wav,2.wav,3.wav,4.wav

093510.86  6 PlaySoundStart ok [C:\ProjectsBak\vg32 5.1.3\system\voice\1.wav,C:\ProjectsBak\vg32 5.1.3\system\voice\2.wav,C:\ProjectsBak\vg32 5.1.3\system\voice\3.wav,C:\ProjectsBak\vg32 5.1.3\system\voice\4.wav]

093510.86  6 TimeoutClear

093510.86  6 wa(2944,25679603)

093510.88  6 callinfo MONITORMODES

093513.88  6 Play End line[6] (id=256796)

 

Could you please post a copy of VoiceGuide's Debug Printout which captures the problem on your system, this will allow us to see what is going wrong.

(When running the script click on VoiceGuide's View menu and select 'Event Trace Log' option - any log information will then appear in this window. You must open the trace window before making the call.)

Share this post


Link to post

Here the log. What release of the Microsoft Speach SDK are you running? I'm using 5.1 and it's ot working. It just hangs and doesn't say anything.

 

 

165857.67 0 ERROR 5.1.3310 DialListDbFindDueCall [invalid use of Null]

165857.71 0 dial callque update id=21 next call time 0312101858

165857.72 0 dial callque DB update returned

165857.73 8 dial found entry: tel[18015463517] ann[NONE] vgs[C:\DBLogging\spinnakerconcierge3.vgs] am[C:\Wave\Spinnaker\KCALLAM2.wav]

165857.75 8 Calling MakeCallEx(18015463517)

165857.00 8 Dialing: 18015463517

165857.00 8 MakeCall => 65757

165857.00 8 TapiCbTrigSet 65757 7002

165904.94 8 tapi Reply (LineEvReply) ok 65757 0

165904.94 8 TapiCbTrigClear

165904.95 8 linedevstate 2048 0 0

165904.97 8 callstate CONNECTED 65723,1,0

165904.97 8 WorkingModeTAPI@Connected=

165904.97 8 WorkingModeScript@Connected=

165905.06 0 dial callque delete id=21

165905.08 8 Live person answered, starting C:\DBLogging\spinnakerconcierge3.vgs

165905.10 0 LoadedVgs_Find C:\DBLogging\spinnakerconcierge3.vgs at idx=1

165905.12 8 cl NewVgsVgm_RunModule module not found:

165905.14 8 [set Silence Length] Evaluate [12]

165905.16 8 .Eval(12)

165905.19 8 Eval Expr result:[12] stored in $RV[silencedetectlen]

165905.19 8 Calling TapiWrap1.SilenceDetectSet(8, 12, 10)

165905.22 8 path {12} not found

165905.25 8 [RecAnswer] Recording

165905.26 8 RVreplace start: [RecAnswer_$RV_DEVICEID.wav]

165905.26 8 RVreplace end: [RecAnswer_8.wav]

165905.75 8 RecSoundStart file[C:\DBLogging\RecAnswer_8.wav] ok

165905.75 8 RecFile[C:\DBLogging\RecAnswer_8.wav]

165906.95 8 monitortone 1

165906.96 8 LsRecRecording EV_SILENCE_DETECTED

165906.96 8 Silence Detected while recording.

165907.02 8 rec length RV: RecAnswer_RecLen100ms = 5

165907.04 8 [AMorLA] Evaluate [$RV[RecAnswer_RecLen100ms] > 40]

165907.05 8 RVreplace start: [$RV[RecAnswer_RecLen100ms] > 40]

165907.05 8 RVreplace end: [5 > 40]

165907.05 8 .Eval(5 > 40)

165907.08 8 Eval Expr result:[False] stored in $RV[LAAM]

165907.08 8 [LA Log] DB Query

165907.09 8 ODBC mode used

165907.75 8 RVreplace start (strlen>100)

165907.75 8 About to execute Action Query

165907.79 8 [Live Answer] Say numbers: 123 as Digits

165907.80 8 fn PlaySoundStartNumbers , , 123, Digits

165907.85 8 sVbsFunctionToUse=Digits

165908.02 8 Started SayNumber VBScript OK. (C:\Program Files\VoiceGuide\data\vbs_8_SayNumber.vbs)

165908.32 8 cl Play_Start 1.wav,2.wav,3.wav

170100.04 8 callstate DISCONNECTED 65723,1,0

170100.04 8 LsSayNbrPlay EV_REMOTEPARTY_DISCONNECT

170100.04 8 Hanging up call...

170100.04 8 RecSoundStop ok

170100.05 8 PlaySoundStop ok

170100.05 8 HangupCall : lCallHandle& = 0 - lets close and open line

170100.05 8 ReinitTelephony due to IDLE start

170100.27 8 lineOpen(8) => 0

170100.27 8 Waiting for a call...

170100.27 8 lineOpen(8)LineHandle=65706

170100.27 8 Waiting for a call...

170100.27 8 fnHangupCall end

Share this post


Link to post

The Say Number module is not using SAPI TTS (Text To Speech). It plays the number by playing the pre-recorded sound files which came with VoiceGuide and are in VoiceGuide's \system\voice\ subdirectory.

 

I'm not too sure at this stage why it's not working on your system... it's all working fine on our test systems and we have recently fielded a minor bug report from a user who was using v5.1.4 to Say Numbers as well..(See post: http://voiceguide.com/forums/index.php?showtopic=931)

 

BTW:

If you would like to have the number spoken using Text-To-Speech then you should specify what you need TTS'd in the "Text To Speak" box in a Play module.

Share this post


Link to post

Turns out there was a bug which affected outbound calls only - but not incoming calls.

 

Please update your 5.1.4 (or 5.1.5) install with attached .exe and try again.

VgMulti.zip

Share this post


Link to post

I noticed a 5.1.6 posted on your website. Is this the VgMulti from that version? I have the speak numbers module working now, but still cannot get the TTS in the Play module to work. I tried entering text in the TTS box as well as creating a .txt file, and neither worked. What should be in the .txt file for TTS to read it correctly? Do I need single, double, or no quotes in the TTS box in the Play module?

Share this post


Link to post
I noticed a 5.1.6 posted on your website. Is this the VgMulti from that version?

Yes.

I have the speak numbers module working now, but still cannot get the TTS in the Play module to work.

Are you using an Enterprise version of VoiceGuide? Only Enterprise (& Evaluation) can do Text To Speech.

 

No quotes or anything is required - just the text itself..

Share this post


Link to post

That explains it. We're using the Professional version. Thanks for the help, what should work does!

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
×