VoiceGuide IVR Software Main Page
Jump to content

Using & Or + Or Join To Name A File

Recommended Posts

Can the file name for the Record Module be created by a result variable? I would like to create a folder full of recorded files with 8 digit names, 4 of the digits being a user id and the other 4 being entered at the time of recording. Would it work to use the $RV[Previous Module] to take the id from the name of the last module (the name of that module would of course be the callers id#), then use the Evaluate Expressions module to use the + or & or Join functions to make the complete file name from a Get Number module where the caller entered the other 4 digits?

 

Can the Play Module file name be a Results Variable? IE, it could use the left function in a Evaluate Expressions module to play all the files that matched 4 digits that another caller entered in a Get Number module. Somehow a coma would have to be inserted between each.

 

 

 

 

 

Is there a way to limit the area codes and prefixes that the dialer can call on certain lines?

 

 

MANY THX

Share this post


Link to post

Just specify the filename like this:

 

$RV[Previous Module]$RV[GetNbrsModuleName].wav

 

The RVs will get replaced with their values before the file is played.

 

no need to use any joins or string concatenation functions.

 

Can the Play Module file name be a Results Variable?

Yes.

play all the files that matched 4 digits that another caller entered in a Get Number module. Somehow a coma would have to be inserted between each.

You mean all the files which begin with particular 4 digits?

You will need to write a short VBScript which identifies the files which you'd like to play and then creates a comma delimited string which is then used (via an RV) in a Play module.

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
×