VoiceGuide IVR Software Main Page
Jump to content

Loop With Moh Length Declared In Rv

Recommended Posts

Hi,

 

we need solution for a MoH for waiting loop.

 

When all agents are busy we want to play music during wait, but with two parameters: file to play and time to play.

 

So to start playing wav file (long for example 60 seconds) and terminate after declared time (after 10 seconds)

 

 

Share this post


Link to post

Best approach is to have a series of files that are of different lengths, and choose to play the file of length that you want to play.

 

eg:

 

moh_10.wav

moh_20.wav

moh_30.wav

moh_40.wav

 

etc.

Share this post


Link to post

We need solution where we import one MoH file and in different places length is declared in $RV.

Share this post


Link to post

Our advice is to create a set of files as advised above, and then use a play module to play this expression:

 

moh_$RV[mylength].wav

 

the correct length file would then be selected for play.

 

looks like your maximum length is 60 seconds - so at most you would need to create 60 files - and if you round the time to nearest 5 seconds then number of files would be only 12.

 

 

The alternative would be to run a separate VBScript .EXE that communicates with VoiceGuide using WCF and has some timeout inside it and issues a vgServices Play_Stop command (while monitoring for end of call events) - but we would not advise doing this.

Edited by SupportTeam
WCF approach fleshed out.

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
×