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. And see here for current known issues.

New Member

Script to Monitor Queue depth and Longest Call for Queue

I would like to create a script that will monitor the depth and length of time a call in the queue. Once a threshold is reached I would then like to send a "page" through to agents to alert them to go ready. I understand how to create a simple script that is triggered by a phone call but I am having an issue on how I should call this application/script. I would like to for it to continuously monitor the queue and only send action when needed. I also don't want it to react constantly once the threshold is reached. Anyone have an ideas or examples.

Thanks,

Joe

3 REPLIES
New Member

Re: Script to Monitor Queue depth and Longest Call for Queue

We do this with "Get Reporting statistic" And have it report the "Current Wait Duration" for the csq the call is in and set that to a variable(WaitTime). Every time that call goes through our 30 second loop we check if WaitTime>90. If true we send an email to a group address that contains the agents and managers of that csq.

New Member

Re: Script to Monitor Queue depth and Longest Call for Queue

I have thought about this and I am concerned with the following:

Say I want to know when queue depth is greater than 4 calls. Call 5 comes in and I alert, and so forth..I could check the call depth and longest in queue to give myself another variable such as longest in queue of over 2 minutes and queue depth of 4 calls. This would potentially give me a method of preventing the alerts from bombarding the users. Does this make sense?

Thanks,

Joe

New Member

Re: Script to Monitor Queue depth and Longest Call for Queue

This makes sense, We also set a variable once an email is sent for a particular call that flags the call as being alerted, and to not send again for that call. Without this once the call reaches the hold time limit or depth limit an email would fired off for every time the call looped. Hence bombarding a user every 30 seconds for each call.

That would definitely hurry everyone up though.

365
Views
0
Helpful
3
Replies