I'm attempting to put together a script that is a departure from what I am used to writing. It's pretty much a basic call queue except that;
1) When there are 3 to 6 calls, an audible notifier is played every 45 secs
2) When there are 7 to 9 calls, an audible notifier is played every 30 secs
3) When there are over 10 calls, an audible notified is played every 10 secs.
The audible notifier is really just a call placed by the script to our 1-to-many broadcast platform SA-Announce. Mechanically, everything seems to work okay as the calls can be placed and an audible sound is played. No problem.
I am running into problems with the triggering event. Right now, when a call is placed into the queue, it triggers off the other scripts that place the call to the audible alert. Well, this can be a problem since I don't want every call to set off the alert. My question is; can I set up a script to check the queue statistics independently at regular intervals and play the appropriate alert based on the queue stats at that point? I need to find another triggering mechanism.
You could create an application with an HTTP trigger (if you have premium licensing). CCX cannot self-trigger an application so you would need to write an external mechanism to do this.