VoiceGuide IVR Software Main Page
Jump to content

Play Module Variable Path

Recommended Posts

Hi,

 

I'm playing wav file in a play module. The path to the wav file is made of substring of a value that I read from a database.

ex: the string I read is like aa = "09-06-14 14:00" I would like to play the wav file that is called 14.wav.

I was wondering how I can build the path using directly the aa var by using the mid(string,start, end) function.

It seems that I cant put directly in the wave file path like this :

 

c:\..\mid(aa,7,).wav

 

How can I manage that?

 

tkx

Mh

Share this post


Link to post

The mid function etc. cannot be used as part of the filename expression. Only $RVs can be used as part of the filename expression.

 

You can use the mid function in an Evaluate Expression module, assign the result of that module to an $RV, and then use that $RV as part of the filename expression.

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
×