<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> if (is_method("REGISTER"))</div><div> {</div><div> if ( 0 ) setflag(TCP_PERSISTENT);</div><div> 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> 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"><<a 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 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>
<a 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 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 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>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a 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>