<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">@Flavio thanks!<br>
      <br>
      Miha<br>
      <br>
      Dne 1/3/2013 10:39 AM, pi&#353;e Flavio Goncalves:<br>
    </div>
    <blockquote
cite="mid:CAJkFROxqB8bLGS=zygJ2J-a-TPEJ69PFS7_GKmN-_QCm9XB+BQ@mail.gmail.com"
      type="cite">Hi Miha,&nbsp;
      <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.&nbsp;</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>&nbsp;</div>
        </div>
        <br>
        <br>
        <div class="gmail_quote">2012/12/28 Miha <span dir="ltr">&lt;<a
              moz-do-not-send="true" href="mailto:miha@softnet.si"
              target="_blank">miha@softnet.si</a>&gt;</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>
            _______________________________________________<br>
            Users mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:Users@lists.opensips.org" target="_blank">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>
          </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>