<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p><tt>Hi Samy!</tt></p>
    <p><tt>Very good questions!</tt></p>
    <p><tt>- thanks for pointing this out; I have put mid-registrar
        replication on the TODO list (the code needs just a few tweaks
        in order for this to work)<br>
      </tt></p>
    <p><tt>- throttling SUBSCRIBE/PUBLISH requests is definitely
        feasible (there were actually quite a few discussions regarding
        this during both ClueCon and AstriCon). Just as a note, the
        mid-registrar implementation is very light, and cannot be
        quickly reused in the code of the presence modules, since it
        relies on an usrloc API extension.<br>
      </tt></p>
    <p><tt>Thanks for the feedback!</tt><br>
      <tt></tt></p>
    <pre class="moz-signature" cols="72">Liviu Chircu
OpenSIPS Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
    <div class="moz-cite-prefix">On 20.12.2016 21:18, SamyGo wrote:<br>
    </div>
    <blockquote
cite="mid:CAJUJwtjK5+tW5GaMqqt6F=Ouxwe4ymX905NSd6Md2mH2rJJVfw@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hi Liviu,
        <div><br>
          <div>This looks very neat. This was somewhat possible
            previously as well using customized opensips.cfg, but now
            its more of a built-in function and I like it. However,
            couple of questions came to my mind after going through
            this.</div>
          <div><br>
          </div>
          <div>- Is this mid-registrar compatible with proto_bin ? Like
            what if I want to have 2+ mid-registrar in Active/Passive
            mode and registrations to be replicated. <br>
            - Can this module help me in PRESENCE handling not just
            IM/Messaging? Like SUBSCRIBE/PUBLISH handling (or
            redirecting) </div>
          <div><br>
          </div>
          <div>Again big applause for the awesome work.</div>
          <div><br>
          </div>
          <div>Thanks and best regards,</div>
          <div>Sammy</div>
          <div> <br>
            <br>
            <br>
          </div>
        </div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Tue, Dec 20, 2016 at 9:33 AM, Liviu
          Chircu <span dir="ltr"><<a moz-do-not-send="true"
              href="mailto:liviu@opensips.org" target="_blank">liviu@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 bgcolor="#FFFFFF" text="#000000">
              <p><tt>Hi all,</tt><br>
              </p>
              <div class="m_-8422288191051809381moz-forward-container"><tt>
                  The new </tt><tt><strong
                    style="font-weight:bold!important"><em>mid-registrar</em></strong></tt><tt><span
                    class="m_-8422288191051809381Apple-converted-space"> </span></tt><tt>functionalit<wbr>y
                  is now available with OpenSIPS 2.3 (current
                  development branch)!</tt><br>
                <b><tt><br>
                    What is a mid-registrar?</tt></b><br>
                <tt><br>
                  The</tt><tt><span
                    class="m_-8422288191051809381Apple-converted-space"> </span></tt><tt><span
                    class="m_-8422288191051809381emphasis"><em>mid-registrar</em></span></tt><tt><span
                    class="m_-8422288191051809381Apple-converted-space"> </span></tt><tt>is
                  a mid-component of a SIP platform, designed to work
                  between end users and the platform's main registration
                  component. It opens up new possibilities for
                  leveraging existing infrastructure in order to
                  continue to grow (as subscribers and as registration
                  traffic) while keeping an existing low-resources
                  registrar server.<br>
                  <br>
                </tt><tt><b>What can a mid-registrar help with?</b><br>
                  <br>
                </tt><tt>Acting as a registration front-end to the main
                  SIP registrar, the OpenSIPS</tt><tt><span
                    class="m_-8422288191051809381Apple-converted-space"> </span></tt><tt><em>mid-registrar</em></tt><tt><span
                    class="m_-8422288191051809381Apple-converted-space"> </span></tt><tt>is
                  able to:</tt><tt><strong
                    style="font-weight:bold!important"><br>
                    <br>
                        * Convert incoming high</strong></tt><tt>-rate
                  registration traffic into a low-rate variant, towards
                  the main registrar layer. With proper configuration,
                  it can absorb over 90% of existing registration
                  traffic while preserving the back-end's user location
                  state, effectively reducing resource usage at the
                  respective layer.</tt><tt><strong
                    style="font-weight:bold!important"><br>
                    <br>
                        * Add support for parallel calling</strong></tt><tt><span
                    class="m_-8422288191051809381Apple-converted-space"> </span></tt><tt>(registration
                  based) to registrar servers which are not able to
                  provide such functionality; The OpenSIPS mid-registrar
                  can aggregate all the registered contacts from the
                  same user (AOR) and push forward to the main registrar
                  a single registration per AOR. On the way back, from
                  the main registrar, an incoming call will be parallel
                  forked to all registered contacts of the user/AOR.</tt><tt><br>
                  <br>
                  <b>How to use the OpenSIPS mid-registrar?</b></tt><tt><br>
                  <br>
                  <a moz-do-not-send="true"
                    href="http://www.opensips.org/Documentation/Tutorials-MidRegistrar"
                    style="color:rgb(0,170,220)" target="_blank">A
                    comprehensive tutorial</a></tt><tt><span
                    class="m_-8422288191051809381Apple-converted-space"> </span></tt><tt>is
                  available, explaining how the OpenSIPS mid-registrar
                  can be used and how it works.</tt><br>
                <tt><br>
                  For more details on configuration options and
                  available functions, see the</tt><tt><span
                    class="m_-8422288191051809381Apple-converted-space"> </span></tt><tt><a
                    moz-do-not-send="true"
href="http://www.opensips.org/html/docs/modules/2.3.x/mid_registrar.html"
                    style="color:rgb(0,170,220)" target="_blank">README
                    file</a></tt><tt><span
                    class="m_-8422288191051809381Apple-converted-space"> </span></tt><tt>of
                  the module.</tt><span class="HOEnZb"><font
                    color="#888888"><br>
                    <pre class="m_-8422288191051809381moz-signature" cols="72">-- 
Liviu Chircu
OpenSIPS Developer
<a moz-do-not-send="true" class="m_-8422288191051809381moz-txt-link-freetext" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.<wbr>com</a></pre>
    </font></span></div>
  </div>


______________________________<wbr>_________________

Users mailing list

<a moz-do-not-send="true" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>

<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-<wbr>bin/mailman/listinfo/users</a>


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


<fieldset class="mimeAttachmentHeader"></fieldset>
<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>
</body></html>