Cisco UCCX script checking for agents available before queue
A coworker asked for guidance in UCCX scripting. After developing a time of day check and simple queueing mechanism, he realized he would need to check if there are agents available in a CSQ regardless of the time of day (snow emergency, company meeting, someone forgot to log out, etc.).
If no one is there to answer a queued call, the caller is routed to a particular DN.
The following is what I provided him as an example.
(The redacted areas in the script documents are just my name.)