cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
371
Views
5
Helpful
2
Replies

IPCC Express - ICD - Determine Agent Logged in

Brian.Cain
Level 1
Level 1

I am working on a custom application based on the ICD system script in IPCC Express 4.0SR1. It all works fine and does what I want, except, if a call come into it and no one is logged into the agent, it tells the user they are in queue and waits for someone to log on. What I want to do, is if a call comes in and there are no agents logged in, send the call to voicemail. Sending calls to voicemail is already setup, so I just need to determine when a call comes in if agents are logged in or not, if so, process the call into the queue, if not, send it to voicemail. How can I determine if an agent is logged into the system?

Thanks,

Brian

2 Replies 2

davidwomer
Level 1
Level 1

Brian,

Use the "Get Reporting Statistic" step in the CRS editor.

Set the report object to CSQ

Set the field to logged in resources

set the row identifier to the name of the CSQ IE "MY_CSQ"

and set the result statistic to an integer to contain the result value of logged in agents.

after you do this just use an if statement and check the variable you just set to make sure it is greater then 1

-Dave

--please remember to rate helpful post!

Dave, That is exectly what I was looking for. I took your suggestion, implemented and tested it, and it worked great. I appreciate the information.

Brian