VoiceGuide IVR Software Main Page
Jump to content

How To Read Large Number Of Records?

Recommended Posts

Hello friends

Is there a better way to read vast number of records to be read as digits using say numbe module? Kindly help me understand why the success path is not taken after the first Say Number module is executed from the attached script?

Any new ways would be welcome.

0604vgm.txt

d2p4.vgs

Share this post


Link to post

If you want numeric data to be read out to caller then a "Say Number" module is used to read out such data to caller.

 

The Say Number module does not use a Success path. I think what you want to use is a Timeout path.

 

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

The Timeout path will be take if a caller has not made a selection within the specified number of seconds. A timeout path with a wait time of zero seconds will be taken immediately after the last sound file in the module has finished playing.

Share this post


Link to post

Thanks. Timeout path works which was really a need there. But I have put 5 Say Number modules to read 5 recoeds. Does it mean that I need to put 100 Say Number modules to read out 100 records to the caller? Or is there a better way?

Share this post


Link to post

You can create a loop of modules which reads out the records. You will need to setup an $RV that acts as a counter and then use that as part of the $RV name that references the data retrieved from the database.

 

Here are some previous threads that discuss setting up a loop. Have a look at the scripts posted there.

 

http://voiceguide.com/forums/index.php?sho...ic=5290&hl=

 

http://voiceguide.com/forums/index.php?sho...ic=5290&hl=

 

And have a look at the last example on this page of the Help file:

 

http://www.voiceguide.com/vghelp/source/html/modevalexpr.htm

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
×