A list of client members for connecting initiatively

Sorry that I’m a newbie and my English is poor. But I really need some help, please.

In fact, I want to construct a client-agent IM system on my website with the Openfire, Spark, Fastpath and Webchat. The agents use the spark and the visiting menbers of my website use the webchat to chat with our agents.

But my boss ordered me to add a function that the agents should be able to get a list of all the members online in spark and chat with the members initiatively by clicking the names on the list.

I really don’t know how to realize this function. What kind of technologies or plugins should be used?

I really really appreciate it if some one can help me with this problem.