I was trying to implement ACD using Queues concept. I created two agents, 1001 and 1002. The agent login mechanism is AgentCallbackLogin() application. This queue (testqueuestat) works fine but is there a way that I can identify which agent (1001/1002) answered the call. I get the notification in the CLI and in the queue_log. Is there a way that I can bring this into an AGI so that I can maintain this in a MySQL DB?