05-13-2011 09:46 AM - edited 03-14-2019 07:54 AM
I need to play 3 different marketing messages while the customer is in queue, do I just create 1st queue loop listening to 1st marketing message, then if the caller still has not been answered create 2nd queue loop listening to 2nd marketing message etc etc???
05-13-2011 10:46 AM
This is how I would go about it, as an example (untested and written on the
fly):
String [] marketingMessages = new String["mktMessage1.wav",
"mktMessage2.wav", "mktMessage3.wav"];
int pos = 1;
on your queued branch:
loop:
call hold
delay 30 seconds
call unhold
if (pos >= 4)
true:
pos = 1
Play Prompt marketingMessages[pos];
increment pos;
goto loop
something like that should work.
note that if you follow the naming convention as above you can replace
markingMessages[pos] with "mktMessage" + pos.toString() + ".wav"
HTH
05-25-2011 02:22 PM
Would like to use the Container Prompt Randomazation option but dont know what it should look like.
I created a Container Prompt
added the prompts and weights
dont know what the Output Prompt should be??
05-25-2011 02:31 PM
For the output prompt you need to create a variable type prompt with and empty value.
After that you need to use a play prompt step with your output variable as the selected prompt in the play prompt step.
Gabriel
06-13-2011 12:31 PM
06-13-2011 12:53 PM
Answering my own question. I did get this to work, but having issues with the weighting of the messages. I have 3 messages and I have them all weighted the same, seems like messages 1 and 2 rotate with each other but I never hear message 3. Any ideas out there for how to cure this issue?
06-13-2011 01:56 PM
Hi,
Does the value of the message 3 variable is named the same way as the .wav that you upload through the web administration page? Also try with another prompt, maybe the format of the 3rd one is not correct.
By the way, there is no script in the .zip file.
Gabriel.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide