Popup for extension rings in queue

Hi,
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 Rr memory 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:

AgentCalled event.

First of all thanks for your reply David55,

We can send AGI from Queue right? like that from Queue any possibility to send that particular extension (for say 1000) going to ring ,so that we can give popup in the webgui of 1000,at the same time of ringing.
Sorry to ask you ,…can you please provide me much more information (more specific) regarding these.What are all I have to do…
so that I can test it.
Is there anything that "Event when called " Parameter in Queue can do in this requirement.

Waiting for your reply,
Vinc