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.