<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix"><tt>Hi Kurtis,<br>
        <br>
        That should be enough to allow the devices to register, but you
        need to be sure (in your overall script) that your REGISTER
        requests do hit that piece of script.<br>
        <br>
        Regards,<br>
      </tt>
      <pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
      On 24.05.2014 03:58, Kurtis Heimerl wrote:<br>
    </div>
    <blockquote
cite="mid:CACyT-3kkfz_MWTHvKecym=zhi9q9XOwZLriVQb+7fpwMw0RJgg@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hey Bogdan,
        <div><br>
        </div>
        <div>I'm trying to do the same thing as Pradeep and failing.
          I've added a user to the subscribers database, but I feel as
          though the default configuration doesn't support registrar
          behavior. In the standard debian package, this is the only
          line seemingly hinging on a REGISTER method:</div>
        <div><br>
        </div>
        <div>
          <div>&nbsp; &nbsp; &nbsp; &nbsp; if (is_method("REGISTER"))</div>
          <div>&nbsp; &nbsp; &nbsp; &nbsp; {</div>
          <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if ( &nbsp; 0 ) setflag(TCP_PERSISTENT);</div>
          <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (!save("location"))</div>
          <div>
            <span class="Apple-tab-span" style="white-space:pre"> </span>sl_reply_error();</div>
          <div><br>
          </div>
          <div><span class="Apple-tab-span" style="white-space:pre"> </span>
            &nbsp; &nbsp; &nbsp; &nbsp;exit;</div>
          <div><span class="Apple-tab-span" style="white-space:pre"> </span>}</div>
        </div>
        <div><br>
        </div>
        <div>Is this sufficient routing for the instance to operate as a
          registrar?</div>
        <div><br>
        </div>
        <div>Thanks!</div>
        <div><br>
        </div>
      </div>
      <div class="gmail_extra"><br>
        <br>
        <div class="gmail_quote">On Fri, May 23, 2014 at 3:21 AM,
          Bogdan-Andrei Iancu <span dir="ltr">&lt;<a
              moz-do-not-send="true" 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 bgcolor="#FFFFFF" text="#000000">
              <div><tt>Hi Pradeep,<br>
                  <br>
                  You can simply use the default script that comes with
                  OpenSIPS - it has support for registration; if you
                  need something more, check "make menuconfig" and get
                  an auto-generated cfg from the Residential scenario.
                  Check:<br>
                  &nbsp;&nbsp;&nbsp; <a moz-do-not-send="true"
                    href="http://www.opensips.org/Documentation/Tutorials-GettingStarted"
                    target="_blank">http://www.opensips.org/Documentation/Tutorials-GettingStarted</a><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"> On 23.05.2014 01:06, Pradeep Patil
                    wrote:<br>
                  </div>
                </div>
              </div>
              <blockquote type="cite">
                <div>
                  <div class="h5">
                    <div dir="ltr">Hi All,
                      <div><br>
                      </div>
                      <div>Hope everyone doing good.</div>
                      <div><br>
                      </div>
                      <div>I am looking for building a new opensip
                        Registrar server, need help in getting
                        understanding does this works? If yes, what all
                        I need as a basic requirement</div>
                      <div><br>
                      </div>
                      <div>I have a global IP Phone or Avaya phone with
                        SIP firmware.</div>
                      <div><br>
                      </div>
                      <div>I want to build a open sip server, to which I
                        can register the above phones as independent
                        without using any Avaya/Cisco servers. Want to
                        register 2 SIP phones and checking 1-1 calling.
                        I am not sure if this going to work, please
                        guide me or correct me If I am wrong.</div>
                      <div><br>
                      </div>
                      <div>Thanks,</div>
                      <div>Pradeep</div>
                      <div><br>
                      </div>
                    </div>
                    <br>
                    <fieldset></fieldset>
                    <br>
                  </div>
                </div>
                <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>
              </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"
              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>