Shannon McCoy | While David is right that there is no one API that will give you a list of agents it is possible to do this.
1. Create a seperate MonitorMode application on a server. 2. Set your mask to get all CIL events. 3. Catch eAgentStateEvent, eNewAgentTeamMemeber, eMonitoredAgentInfoEvent, eAgentInfoEvent, eQueryAgentStateConf events. There is no one event that gives you everything you need. You have to cobble together the information from mulitple events. 4. Store the info you recieve in a suitible object collection. 5. Use a publish/subscribe pattern to send the agent information to your chat app.
I do this successfully everyday in a large customer for my custom dashboards. |
| Please sign in to flag this as inappropriate. |