Pop up for extension rings in Queue

I’m using asterisk 11, I just want to build a call center setup.For that I made custom queue of having only two static agent extensions.Everything is working properly.We created web gui for the 2 extensions (agents) separately, having some other details in that web gui.The agent will have that their web gui and their desk phone.Our asterisk server is connected to a database server.When call comes to queue we fetch customer phone number or name from the database and give a pop-up in the agent’s web gui. By that the agent can understand the customer, whether he called us before or is that his first time.Our web developers found all the solutions but only one problem.
‘how can I find the particular agent extension who is going to ring in the Queue of 2 agents’. So only that (ringing) agent extension can have the pop -up details in their web gui. Another agent extension will keep silent ( no pop-up in gui).
If the ring strategy of Queue is Ring all then it is ok, that pop up details can give for all agent extensions in that Queue.But here I am using Round robin strategy.Only one extension will ring at a time,and that extension’s gui only needs pop-up details of the customer.

I am newbie to this …can anyone help me to come out of this…
Thanks in advance :confused: