<div dir="ltr">Thanks Bogdan,<div>That makes everything easy. :)</div><div><br></div><div>Best Regards,</div><div>Sammy</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Aug 17, 2015 at 11:52 AM, Bogdan-Andrei Iancu <span dir="ltr">&lt;<a href="mailto:bogdan@opensips.org" target="_blank">bogdan@opensips.org</a>&gt;</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 Sammy,<br>
      <br>
      If you use the &quot;brief&quot; option just to get the list of AORs, is
      quite ok. But depends on how often you need this info.<br>
      <br>
      If you want to keep into into a parallel DB, better use the AOR
      inserted /deleted events:<br>
         
      <a href="http://www.opensips.org/html/docs/modules/2.1.x/usrloc.html#id295255" target="_blank">http://www.opensips.org/html/docs/modules/2.1.x/usrloc.html#id295255</a><br>
      And keep your REDIS in sync from there.<br>
      <br>
      Regards,<br>
    </tt><span class="">
    <pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre>
    </span><div><div class="h5"><div>On 17.08.2015 18:10, SamyGo wrote:<br>
    </div>
    <blockquote 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">&lt;<a href="mailto:bogdan@opensips.org" target="_blank">bogdan@opensips.org</a>&gt;</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 &quot;ul_dump&quot; gives you the registration
                status for all users:<br>
                    <a 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 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 href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre>
              <div>
                <div>
                  <div>On 17.08.2015 08:14, Julian Kay wrote:<br>
                  </div>
                </div>
              </div>
              <blockquote type="cite">
                <div>
                  <div>
                    <div>
                      <p class="MsoNormal">Hi;</p>
                      <p class="MsoNormal"> </p>
                      <p class="MsoNormal">I&#39;m looking for information
                        on monitoring extension status on phones
                        registered with OpenSIPS. </p>
                      <p class="MsoNormal"> </p>
                      <p class="MsoNormal">I&#39;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>
                  <pre>_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a 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 href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
            <a 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></fieldset>
      <br>
      <pre>_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
  </div></div></div>

</blockquote></div><br></div>