VoiceGuide IVR Software Main Page
Jump to content

Will Not Play Time When Read From Db

Recommended Posts

from an access database. Please help, Below is the log where it is suppose to play. I have tried every method in the Play numbers Module with no luck.

 

In1_3_1_2]{True}[Retrieve Emp In1_3_1_3]{True}

204707.16 9 rv replace end: [6:57:00 PM]

204707.17 9 [say time In1] Say numbers: [6:57:00 PM] as Date & Time - MMDDHHNN

204707.17 9 fn PlaySoundStartNumbers [],[],[6:57:00 PM],Date & Time - MMDDHHNN

204707.17 9 sVbsFunctionToUse=DateTimeMMDDHHNN

204707.22 9 Started SayNumber VBScript OK. (C:\Program Files\VoiceGuide\data\vbs_9_SayNumber.vbs)

204707.31 9 cl Play_Start

 

Please help

 

Erich

Share this post


Link to post

"6:57:00 PM" is not in format: "MMDDHHNN' - that's why Voiceguide is not saying it right...

 

Try placing attached file in VoiceGuide 's \system\vbs\ subdirectory,

 

Stop VoiceGuide then start the script designer - select the "Time - HH:NN:SS AM/PM" option in the "Say numbers as:" dropdown combo box, save the script and start VoiceGuide and try dialing in again.

 

(have a look at lib_num2wav.vbs to see how you can add functions to it to allow VoiceGuide to say just about any incoming date/time format)

lib_num2wav.vbs

Share this post


Link to post

Time is still a no go. I fixed the date problem in the vbs file but can not get the time on figured out. It still does not want to read the time. Nothing is done. Here is the current log section.

 

021811.00 9 rv replace end: [8:27:00 PM]

021812.01 9 [say time In1] Say numbers: [8:27:00 PM] as Time - HH:NN:SS AM/PM

021812.01 9 fn PlaySoundStartNumbers [],[],[8:27:00 PM],Time - HH:NN:SS AM/PM

021812.03 9 sVbsFunctionToUse=DateTimeLongTime

021812.11 9 Started SayNumber VBScript OK. (C:\Program Files\VoiceGuide\data\vbs_9_SayNumber.vbs)

021812.20 9 cl Play_Start

021812.22 9 ScriptEventCode 8001 iLineState=1600

021812.22 9 LsSayNbrPlay EV_PLAY_FINISHED

Share this post


Link to post

Sorry it took so long to get back. Yes that worked great. I have attached another vbs file because your date was part was still backwards. In both sections of the file MMDDYYYY and DDMMYYYY you got it reading DDMMYYYY I corrected the MMDDYYYY and is in the attached file. Thanks for all of your help.

 

Erich

lib_num2wav.vbs

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
×