Hi Miha, <div><br></div><div>There are two options:</div><div><br></div><div>single domain</div><div>1. Use the core statement, alias=domain and then use if(uri!=myself) exit; at some point in the script. </div><div><br></div>
<div>multidomain</div><div>2. Load the domain module, insert the domains in the domain table and use the function is_uri_host_local() to drop foreign messages</div><div class="gmail_extra"><br clear="all"><div><div>Flavio E. Goncalves</div>
<div> </div></div>
<br><br><div class="gmail_quote">2012/12/28 Miha <span dir="ltr"><<a href="mailto:miha@softnet.si" target="_blank">miha@softnet.si</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
I am new to opensips, so sorry for my noob questions:)<br>
<br>
I am doing cfg script which would tourn opensips to do load_balancing and registration.<br>
How to prefrom that the user will only register to opensips with domain and not ip (if registration is from ip that is should be rejacted, I have this now in FS)?<br>
<br>
THanks!<br>
Miha<br>
<br>
<br>
<br>
______________________________<u></u>_________________<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" target="_blank">http://lists.opensips.org/cgi-<u></u>bin/mailman/listinfo/users</a><br>
</blockquote></div><br></div>