<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
I would suggest using a presence based option and utilizing the
pua_usrloc module for pushing state updates into the presence
server.<br>
<br>
<a class="moz-txt-link-freetext" href="http://www.opensips.org/html/docs/modules/2.1.x/pua_usrloc.html">http://www.opensips.org/html/docs/modules/2.1.x/pua_usrloc.html</a><br>
<br>
-Eric<br>
<br>
<div class="moz-cite-prefix">On 08/17/2015 09:10 AM, SamyGo wrote:<br>
</div>
<blockquote
cite="mid:CAJUJwtjgiv29aNoH0sykH-Y+4qBv-t59vPn5RjU=OdWAv9GJ9g@mail.gmail.com"
type="cite">
<div dir="ltr">Hi Bogdan,
<div><br>
<div>Can you recommend this approach for a huge number of ul
records ? Is there any better approach in your opinion ?</div>
<div><br>
</div>
<div>I Push Registering Users into Redis from cfg file, and on
un-registering delete them from redis List of online users.
This wont give me accurate results but I believe much less
load on OpenSIPS. </div>
<div><br>
</div>
<div>Then for accurate results I created script utilizing the
mi_http module to reconcile with Redis and purge any dead
entries, this is done after 5~10 minutes interval.</div>
<div><br>
</div>
<div>I just want to know if there is any other approach to
this ?</div>
<div><br>
</div>
<div>Best Regards,</div>
<div>Sammy</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Mon, Aug 17, 2015 at 5:42 AM,
Bogdan-Andrei Iancu <span dir="ltr"><<a
moz-do-not-send="true" href="mailto:bogdan@opensips.org"
target="_blank">bogdan@opensips.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF"> <tt>Hi Julian,<br>
<br>
The MI command "ul_dump" gives you the registration
status for all users:<br>
<a moz-do-not-send="true"
href="http://www.opensips.org/html/docs/modules/1.11.x/usrloc.html#id294959"
target="_blank">http://www.opensips.org/html/docs/modules/1.11.x/usrloc.html#id294959</a><br>
<br>
You can trigger this command via the MI interface :<br>
<a moz-do-not-send="true"
href="http://www.opensips.org/Documentation/Interface-MI-1-11"
target="_blank">http://www.opensips.org/Documentation/Interface-MI-1-11</a><br>
where you have several protocols/backends to communicate
with OpenSIPS.<br>
<br>
Regards,<br>
</tt>
<pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a moz-do-not-send="true" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre>
<div>
<div class="h5">
<div>On 17.08.2015 08:14, Julian Kay wrote:<br>
</div>
</div>
</div>
<blockquote type="cite">
<div>
<div class="h5">
<div>
<p class="MsoNormal">Hi;</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">I'm looking for information
on monitoring extension status on phones
registered with OpenSIPS. </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">I'm looking into interfacing
a java web applet to OpenSIPS.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">If anyone knows where I may
find helpful info I would appreciate it.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Thx!</p>
<p class="MsoNormal">JK</p>
</div>
<br>
<fieldset></fieldset>
<br>
</div>
</div>
<span class="">
<pre>_______________________________________________
Users mailing list
<a moz-do-not-send="true" href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a moz-do-not-send="true" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</span></blockquote>
<br>
</div>
<br>
_______________________________________________<br>
Users mailing list<br>
<a moz-do-not-send="true"
href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a moz-do-not-send="true"
href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>