VoiceGuide IVR Software Main Page
Jump to content

Support Regarding Voice Recording And Playback

Recommended Posts

Hey, I am new to VoiceGuide. I used another IVR application and came to know about VoiceGuide. Currently I am trying to transfer the previous flowchart to VoiceGuide (Evaluation Version). I am using D/4PCIU dialogic card.

 

Say, at some stage I want to record some information about the caller to a particular directory. This part is easy as i am using the record module to get the information to a wav file. But after that I want to give a menu where the callers can hear the recording, cofirm the recording or if necessary re-record the whole thing.

 

As i am leaving the file name for recording module empty, I guess a random file name is generated. But how do I retrive the exact file in the next layer for playback. And if the caller decides to re-record how can I say which file is final.

 

As well as at some point I am asking a random question from a pool of questions say 20, based on what another set of information is recorded. So How can I achieve this using VoiceGuide. So please help me.

 

I am attaching the jpg image of the flowchart with this post. Thanks in advance for any reply.

post-2927-1200997975_thumb.jpg

Share this post


Link to post
As i am leaving the file name for recording module empty, I guess a random file name is generated. But how do I retrive the exact file in the next layer for playback. And if the caller decides to re-record how can I say which file is final.

From http://www.voiceguide.com/vghelp/source/html/modrecord.htm :

$RV[ModuleTitle] will store the filename of the recorded sound file. Includes the full directory path.

$RV[ModuleTitle] will always hold the last RV for that module. You should probably also look at VG's Voicemail script - vgLm.vgs in VG's \system\vm subdirectory.

 

As well as at some point I am asking a random question from a pool of questions say 20, based on what another set of information is recorded. So How can I achieve this using VoiceGuide.

You can use an Evaluate Expression module or the VBScript modules to generate random number between 1 and 20, and then go to different sections of the script depending on that number. Once you have the generated number store in RV use an Evaluate Expression module to 'evaluate' the RV and the go down various paths. Or just jump to different parts of the script or subscripts directly from the VBScript which generates the random number.

 

Share this post


Link to post

Thanks for the quick reply.

 

Still working on this, as many things are not clear to me right now. It would help me a lot if you clear things a bit. Best way if you can provide me with some examples, like an example of jumping to branches based on a random number.

 

Will knock back if I am stuck again. Thank you.

Share this post


Link to post
like an example of jumping to branches based on a random number.

Please see attached script for one approach.

 

Thanks for the support. But the thing is that Evaluate Expression does not seem like working as I mentioned in one of my other posts. As it keeps going to choice 8 (eight.wav) for try = 15 times. I wonder if there is some sort of limitation with this module in the trial version of VoiceGuide. I have implemented that using VBScript and it works in that case. But Rnd also does not work there, I had to use [Now(Second) mod 10] to achieve random branching.

 

Thanks again.

Share this post


Link to post

Thanks for letting us know. We've checked and looks like the Rnd() function always returns a value of 0.7044475 !

The Eval module uses the MSSCriptControl's Eval function, so it looks like the Rnd function does not work in Windows' MSScriptControl .Eval function...

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
×