VoiceGuide IVR Software Main Page
Jump to content

Speak Numbers From Result Variables

Recommended Posts

Hi, I ran into a problem. I query a database using VbScript and get a time from that database. I want to pass that time so the Speak module can tell the caller the time I found. How do I pass that value to the Speal module.

 

I draagged and dropped a speak module but it does not allow me to link to any result variable. I do not want to use files to store result codes, but I do not even know how to pass a file with result codes to the speak module anyway.

 

My preference would be a way to Set the calling module with the time found and have the speak module get the result from that calling module and speak it to the caller. I tried using .RvSet, but it doesn't work since SPeak module does not have a VbScript tab , nor I know how to call the Speak module from within my vbscript, that would be the best scenario, to speak that time from within vbscript. Please help. Thank You

Share this post


Link to post

From VBScript module you can set/create Result Variables - and then use that RV in the Say Number module.

I tried using .RvSet

You're on the right track. Set the RV using that or Script_Return() etc. functions and the tat RV is availabe for use anywhwew else within the script.

 

eg:

 

vg.RvSet $RV_LINEID, "SomeImportantTime", "12:30"

 

Then you can use:

 

$RV[someImportantTime]

 

in the Say Number module.

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
×