<div dir="ltr">Would you not just do something like this?<div><br></div><div>If(FriendlyIP &amp;&amp; is_method(&quot;REGISTER&quot;))</div><div>{</div><div><div>                if (t_newtran()) {</div><div>                        save(&quot;location&quot;);</div><div>                }</div><div><br></div><div>                exit;</div></div><div>}</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Dec 31, 2014 at 10:22 AM, Satish Patel <span dir="ltr">&lt;<a href="mailto:satish.txt@gmail.com" target="_blank">satish.txt@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>We have many users using both registration method and IP auth method to send calls but i wants if they use IP Auth method then we can disable registration method ( just prevention from hacking attack). </div><div><br></div><div>I believe registration is only required for incoming calls to find user location, right? How do i tell opensips don&#39;t accept user registration method even opensips challenge for proxy auth. any suggestion? </div></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>