« Back to Contact Center Express Scripting Questions

Close CSQ when no agents are logged in

Combination View Flat View Tree View
Threads [ Previous | Next ]
Hi!
 
I am trying to create a simple step for one of my CSQ's. I can not seem to figure it out and am in need of some help.
 
I am trying to find out how check if their are any available agents logged in to a queue prior to placing a caller in one, and if there is no one in the queue, sending them somewhere else within the script. I have the script working just fine the normal way, as in once they select the option it places them in the queue for the next available agent, but I am not sure how to check to see if there are any agents physicaly logged in. If there is not, I would like to simply redirect the caller to a different voice prompt and see that they never get to the queue. Does this make sense?
 
Any help you can led would be much appreciated.

Thanks,
Ira
 
Specs:
CRS 4.1(1) SR01_Build028

If anyone else is wondering how this is done, it is performed the following way from inside the script
 
 
Use the parameter: Get Reporting Statistics
 
Extract the Logged-in Resources from the CSQ IPCC Express queue of your choice and save it to a variable. Run an If statement on that variable to get your answer.