VoiceGuide IVR Software Main Page
Jump to content

No Action Module - Tts Support..

Recommended Posts

Hi there,

 

I am disecting the get price.vgs for a client scenario as part of my evaluation exercise. In the product.mdb found under the Customer Enquiry sample script folder, I plan to add a column named "ProDescription", and this new column will hold a free form product description text (100 words max). In the script designer on the query module I plan to add the fields to be retrieved by the SQL query (the other two fields in the return set exist in the .mdb), here is the SQL;

 

SELECT ProDescription, UnitsInStock, UnitPrice FROM Goods WHERE ProductID='$RV[Get Product Code]'

 

 

For the output flow, I would like to provide the caller the product description before they hear the Stock Count.

 

I fail to see an Action Module which would allow me to TTS back to the user the ProDescription field. When I look at the module titled 'Speak Number/Amount/Date etc.' the output is constrained to specific data formats, but there is no entry for free form text.

 

Questions:

 

*Could you please suggest a solution to use TTS back to the caller the product desciption (free form text)

within the flow of the Get Price.vgs script?

 

*How would you go about specifying/setting the name of the wav file to be played back to the user? i.e.: if

the user selects the product id = 0001, then the .wav file name would be 0001.wav (how is this name

progrmatically set?)

 

*I have been reading through you forums and it seems that the general rule is that where a sound file

(.wav) file is called for a developer instead specifies the .txt extension, the TTS engine will execute, is this

also true for the COM interface Dialer_OutDialQueAdd, specifically the sAnnounceMessage and

sAnswerMachineMsg parameters?

 

 

Regards,

Ralph

Share this post


Link to post
*Could you please suggest a solution to use TTS back to the caller the product desciption (free form text) within the flow of the Get Price.vgs script?
You need to add a Play module to the script. The TTS is done within a Play module.

 

*How would you go about specifying/setting the name of the wav file to be played back to the user? i.e.: if the user selects the product id = 0001, then the .wav file name would be 0001.wav (how is this name

progrmatically set?)

Read about Result Variables in the VoiceGuide Help file.

 

*I have been reading through you forums and it seems that the general rule is that where a sound file (.wav) file is called for a developer instead specifies the .txt extension, the TTS engine will execute, is this also true for the COM interface Dialer_OutDialQueAdd, specifically the sAnnounceMessage and

sAnswerMachineMsg parameters?

Not sure, try it and see. If it doesn't wotk for sAnswerMachineMsg then three is an easy workaround - just pass the TTS text as an RV and in sAnswerMachineMsg specify a script which would TTS that RV.

Share this post


Link to post

That was a quick response! thanks.

 

Could you please be more specific? about this:

 

"Read about Result Variables in the VoiceGuide Help file."

 

There are a lot of variables (return value/evaluation type), are you making reference to the section under

"Where can Result Variables be used"? I want to make sure that I am chasing the correct path/solution.

Share this post


Link to post

Also with regards to the first suggestion:

 

>Could you please suggest a solution to use TTS back to the caller the product desciption (free form text) within >the flow of the Get Price.vgs script?

>You need to add a Play module to the script. The TTS is done within a Play module.

 

 

In order to read the SQL return set via TTS using the play modeule as suggested above;

 

Where in the play module should I place the return set variable, $RV[Access Query_1_1] ?

-OR-

Should it go on the box "Sound File to be Played"? OR under "Text to speak"?

 

thanks,

Ralph

Share this post


Link to post
Where in the play module should I place the return set variable, $RV[Access Query_1_1] ?

-OR-

Should it go on the box "Sound File to be Played"? OR under "Text to speak"?

Under "Text to speak".

 

Have you read the Help file section on the Play module? There is an example in the Help file.

Share this post


Link to post

>Have you read the Help file section on the Play module? There is an example in the Help file.

 

If I did I would not be bothering you with my pesky questions. As simple as VG might be the learning curve and discovery/understanding of all the information on the help file will be a challenge for users - that is why we are glad you are there! I need to make sure that my scenarios are supported before my team commits financially.

 

 

Regarding your earlier reply. Could you please be more specific? about this:

 

"Read about Result Variables in the VoiceGuide Help file."

 

There are a lot of variables (return value/evaluation type), are you making reference to the section under

"Where can Result Variables be used"? I want to make sure that I am chasing the correct path/solution.

Share this post


Link to post
*How would you go about specifying/setting the name of the wav file to be played back to the user? i.e.: if the user selects the product id = 0001, then the .wav file name would be 0001.wav (how is this name

progrmatically set?)

From: http://www.voiceguide.com/vghelp/html/modGetNumber.htm :

 

A Get Numbers module creates a Result Variable like this:

 

$RV[moduleTitle]

 

which holds the characters entered by caller.

 

you can use this RV later on in the script, eg: in a Play module when specifying the sound file to play.

 

eg. If caller enters 1234 in a Get Numbers module titled "Select Product" you could then specify this expression in a Play module:

 

$RV[selectProduct].wav

 

and the Play module would play sound file 1234.wav

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
×