Guest researcher Report post Posted 06/04/2009 05:58 PM 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
SupportTeam Report post Posted 06/04/2009 09:15 PM 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
Guest researcher Report post Posted 06/05/2009 12:58 AM 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
SupportTeam Report post Posted 06/05/2009 01:41 AM 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