public Collection<MediaProxySession> getAgents() {
        return mediaProxy.getSessions();
    }
Return the list of active Agents

@return list of active agents
xmppserver/src/main/java/org/jivesoftware/openfire/mediaproxy/MediaProxyService.java