roayu wrote:
Hi there!
Can anyone tell me how to get the RealTime Online user status other
than using command ‘*serctl ul show*’? Or how can I store the realtime
online user status to the MySQL db?
Thanks.
Cheers,
Roa Yu J
------------------------------------------------------------------------
_______________________________________________
Serusers mailing list
Serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers
The location table in the MySQL database stores what are, in effect,
currently online users. It is, however, only an approximation. When a UA
registers, it sends an expiration time on its registration and that gets
stored in the location table. If the user disconnects without cancelling
his registration (some UAs send am expire register message to 'log out'
and some don't), then the data may still be in the table until the
expire time occurs. Realistically, though, you can get a good idea of
currenly online users using the location table and while it may not be
100% accurate, it's close enough for government work, as it were.
N.