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

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

For an introduction to the new site, click here. And see here for current known issues.

New Member

Help with CRS script "Time" value needed

How to create a script, to redirect a caller to different Tel Nr. if it stays in queue longer than 2 min.?

VIP Super Bronze

Re: Help with CRS script "Time" value needed

There are several ways. What comes to mind at the moment from easiest to hardest:

1) Count how long it takes to make it through one iteration of the queue loop. Add an iterator (Increment var) at the end, and then an If loop at the top. If var >= 2 then Dequeue and Call Redirect.

2) Use the Get Reporting Statistic to check how long that contact has been in queue.

3) Use some Java code to get the time when they enter the queue, then check the current time periodically and Dequeue/Call Redirect if there is a delta of two minutes or more.

Please remember to rate helpful responses and identify helpful or