Help with CRS script "Time" value needed

Unanswered Question
Jan 21st, 2009

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

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Jonathan Schulenberg Wed, 01/21/2009 - 17:22

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.

Actions

This Discussion