Close CSQ when no agents are logged in

Version 1
    This document was generated from CDN thread

    Created by: Ira Brock on 11-02-2010 03:58:42 PM
    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

    Subject: RE: Close CSQ when no agents are logged in
    Replied by: Ira Brock on 11-02-2010 05:10:50 PM
    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.