VoiceGuide IVR Software Main Page
Jump to content

Capable Of Random Outgoing Message?

Recommended Posts

I'm trying to find a software solution and wondering if VoiceGuide has the capability to do what I need.

 

I need an autodialer which (upon the recipient answering) plays a random wave file and disconnects. The program needs to be able to choose randomly from among thousands of different wave files.

 

Can VoiceGuide do this or can a script be easily written within VoiceGuide to provide this capability?

 

Thank you!

Share this post


Link to post

Sure it can, just have the script which is used when call is answered select the file at random and then play it.

 

Say you have sound files names 1000.wav through to 9999.wav

 

To generate a random number between 1000 and 9999 you would use an Evaluate Expression module with the following expression:

 

Int(9000 * Rnd + 1000)

 

And then use the Result Variable from that module in a Play module to play the file. If the Evaluate Expression module was titled "GenerateRandom" then in the play module you would specify:

 

$RV[GenerateRandom].wav

 

sample script attached.

RandomPlay.vgs

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
×