Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

CUE Editor - Generate random number

Hi all,

I need to redirect a call, if the result is out of business hours, to an external number (using CUE 7.0.5). That is easy with a "Translation pattern" (using CM 7.1), the problem arises when I need to have 3 different external numbers. I need a way to generate a random number (between 1 and 3) or do it in a circular way, so the calls get redirected to the 3 numbers, one at a time.

Is this possible at all or I'm just wanting something impossible?

Any other solution, using Call Manager 7.1 and CUE 7.0.5 or only one of them will be good.

Regards

Everyone's tags (4)
6 REPLIES
Hall of Fame Super Gold

Re: CUE Editor - Generate random number

In CUE scripts, there are "set", "incr", and "if" steps that you can use for the purpose.

New Member

Re: CUE Editor - Generate random number

Thanks for your reply.

Is there a way to save a variable, or a variable state, value in this case? Every time a call enters the system the variable values are reseted and I am not able to go from one option on the if to the other.

The thing is I need to send the first call to number A and second call to number B and third call to number C and then the next call to number A and so on.

Many thanks for your help.

Hall of Fame Super Gold

Re: CUE Editor - Generate random number

You are right. It seems that the only way to get persistent variables would be using the IVR steps to access a DB.

Since this may be an overkill, it would be proably better to handle the call distribution in the CM itself.

New Member

Re: CUE Editor - Generate random number

Hi,

Thanks for your reply.

Any idea on how to achieve what I need? I cannot use Hunt Pilot because it will not forward the call. I can work with partitions and CSSs but how can I configure the 3 external numbers I need?

Regards

Hall of Fame Super Gold

Re: CUE Editor - Generate random number

I think that if you search the forum you can find how.

I remember there is a special setting to allow external numbers in hunt pilot, but not being a CM expert, can't tell you more than that.

New Member

Re: CUE Editor - Generate random number

Hi,

Thanks for your help.

I have been looking for the last days and I think I'm at a dead end...

Regards

716
Views
12
Helpful
6
Replies