cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
701
Views
15
Helpful
2
Replies

Random Prompt with pipes

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.

2 Accepted Solutions

Accepted Solutions

Gergely Szabo
VIP Alumni
VIP Alumni

Hi,
prompt1%weight1||prompt2%weight2
G.

Sent from Cisco Technical Support iPad App

View solution in original post

To add to Greg's 100% correct reply...

The document which talks about this is: UCCX Programming Guide Volume 3

http://www.cisco.com/en/US/docs/voice_ip_comm/cust_contact/contact_center/crs/express_8_5/programming/guide/uccx851_exp_lang.pdf

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.

View solution in original post

2 Replies 2

Gergely Szabo
VIP Alumni
VIP Alumni

Hi,
prompt1%weight1||prompt2%weight2
G.

Sent from Cisco Technical Support iPad App

To add to Greg's 100% correct reply...

The document which talks about this is: UCCX Programming Guide Volume 3

http://www.cisco.com/en/US/docs/voice_ip_comm/cust_contact/contact_center/crs/express_8_5/programming/guide/uccx851_exp_lang.pdf

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.

Getting Started

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: