Besides the database lookup, you can also directly access SER&#39;s cache using RPC method *usrloc.show*. You can check its functionality with ser_ctl:<br><br>ser_ctl usrloc show <a href="mailto:sam@mydomain.org">sam@mydomain.org
</a><br><br>Remember that it&#39;s more accurate to check SER&#39;s cache (it&#39;s effectively the source of information) than the &quot;backup&quot; stored in the database...<br><br>hope it helps,<br>samuel.<br><br><br>
<div><span class="gmail_quote">2007/10/10, Jiri Kuthan &lt;<a href="mailto:jiri@iptel.org">jiri@iptel.org</a>&gt;:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
yes, set usrloc&#39;s database mode to 1. -jiri<br><br>At 03:32 10/10/2007, roayu wrote:<br><br>&gt;Thanks for your reply. I found that it&#39;s only update after around 30<br>&gt;seconds. Is there anyway that I can fasten the update on the database?
<br>&gt;<br>&gt;Thanks.<br>&gt;<br>&gt;Cheers,<br>&gt;Roa Yu<br>&gt;<br>&gt;-----Original Message-----<br>&gt;From: SIP [mailto:<a href="mailto:sip@arcdiv.com">sip@arcdiv.com</a>]<br>&gt;Sent: Tuesday, October 09, 2007 9:14 PM
<br>&gt;To: roayu<br>&gt;Cc: <a href="mailto:serusers@lists.iptel.org">serusers@lists.iptel.org</a><br>&gt;Subject: Re: [Serusers] Get RealTime Online Users status<br>&gt;<br>&gt;roayu wrote:<br>&gt;&gt;<br>&gt;&gt; Hi there!
<br>&gt;&gt;<br>&gt;&gt; Can anyone tell me how to get the RealTime Online user status other<br>&gt;&gt; than using command &#39;*serctl ul show*&#39;? Or how can I store the realtime<br>&gt;&gt; online user status to the MySQL db?
<br>&gt;&gt;<br>&gt;&gt; Thanks.<br>&gt;&gt;<br>&gt;&gt; Cheers,<br>&gt;&gt;<br>&gt;&gt; Roa Yu J<br>&gt;&gt;<br>&gt;&gt; ------------------------------------------------------------------------<br>&gt;&gt;<br>&gt;&gt; _______________________________________________
<br>&gt;&gt; Serusers mailing list<br>&gt;&gt; <a href="mailto:Serusers@lists.iptel.org">Serusers@lists.iptel.org</a><br>&gt;&gt; <a href="http://lists.iptel.org/mailman/listinfo/serusers">http://lists.iptel.org/mailman/listinfo/serusers
</a><br>&gt;&gt;<br>&gt;The location table in the MySQL database stores what are, in effect,<br>&gt;currently online users. It is, however, only an approximation. When a UA<br>&gt;registers, it sends an expiration time on its registration and that gets
<br>&gt;stored in the location table. If the user disconnects without cancelling<br>&gt;his registration (some UAs send am expire register message to &#39;log out&#39;<br>&gt;and some don&#39;t), then the data may still be in the table until the
<br>&gt;expire time occurs. Realistically, though, you can get a good idea of<br>&gt;currenly online users using the location table and while it may not be<br>&gt;100% accurate, it&#39;s close enough for government work, as it were.
<br>&gt;<br>&gt;N.<br>&gt;_______________________________________________<br>&gt;Serusers mailing list<br>&gt;<a href="mailto:Serusers@lists.iptel.org">Serusers@lists.iptel.org</a><br>&gt;<a href="http://lists.iptel.org/mailman/listinfo/serusers">
http://lists.iptel.org/mailman/listinfo/serusers</a><br><br><br><br>--<br>Jiri Kuthan&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://iptel.org/~jiri/">http://iptel.org/~jiri/</a><br><br>_______________________________________________<br>Serusers mailing list
<br><a href="mailto:Serusers@lists.iptel.org">Serusers@lists.iptel.org</a><br><a href="http://lists.iptel.org/mailman/listinfo/serusers">http://lists.iptel.org/mailman/listinfo/serusers</a><br></blockquote></div><br>