11-06-2012 12:11 PM - edited 03-14-2019 10:48 AM
Hi there,
I few years ago I made a script that play random greeting prompts with play prompt step and pipes || (not sure if that worked)
It was something like: play_prompt (prompt1 || prompt2)
Not sure how I did it .. and if it really worked.. so I'd like to ask to the experts.
Does something like that work ? I tryied one thing and another ... but it did not work
Could you please help me ?
Thanks.
Andrei.
Solved! Go to Solution.
11-06-2012 12:51 PM
Hi,
prompt1%weight1||prompt2%weight2
G.
Sent from Cisco Technical Support iPad App
11-06-2012 02:47 PM
To add to Greg's 100% correct reply...
The document which talks about this is: UCCX Programming Guide Volume 3
Section: Prompt Escalation Operator ||
And to give an example:
Play Prompt (--Triggering Contact--, s[1] % 1 || s[2] % 1)
That will randomly select between playing "one" or "two" a fair number of times (like a 50/50 coin flip).
Of course, you could hear "one", "one", "one" and think that it's not working, but then again, you could flip "heads", "heads", "heads" too.
Anthony Holloway
Please use the star ratings to help drive great content to the top of searches.
11-06-2012 12:51 PM
Hi,
prompt1%weight1||prompt2%weight2
G.
Sent from Cisco Technical Support iPad App
11-06-2012 02:47 PM
To add to Greg's 100% correct reply...
The document which talks about this is: UCCX Programming Guide Volume 3
Section: Prompt Escalation Operator ||
And to give an example:
Play Prompt (--Triggering Contact--, s[1] % 1 || s[2] % 1)
That will randomly select between playing "one" or "two" a fair number of times (like a 50/50 coin flip).
Of course, you could hear "one", "one", "one" and think that it's not working, but then again, you could flip "heads", "heads", "heads" too.
Anthony Holloway
Please use the star ratings to help drive great content to the top of searches.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: