Last Activity for all users on ejabberd

Hello Friends,

We have following installed on our server.

ejabberd Community Server (eCS)

I am using asmack 4.0.7 to interact with the ejabberd server.

I wish to know last activity (XEP-0012) of all the users.

I have 10 user accounts on our server. viz john@myserver.in, mike@myserver.in, jerry@myserver.in etc.

The behaviour of ejabberd is that to know last activity of a user, that user has to log in. I mean to check last activity of john@myserver.in, he will have to log in.

If i log in as john@myserver.in, then i successfully get last activity for john@myserver.in. With john logged in, if i retrieve last activities for mike@myserver.in, jerry@myserver.in or any other user, i get service-unavailable response for ejabberd server.

My requirement is that to retrieve last activity without making logins for all users.

Is that possible ?

thanks

Vilpesh