<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <font face="Calibri Light">Hello Bogdan<br>
      <br>
      yes this was the case...<br>
      <br>
      thank you!<br>
      <br>
      <br>
      br<br>
      miha<br>
    </font><br>
    <div class="moz-cite-prefix">On 15/11/2016 18:35, Bogdan-Andrei
      Iancu wrote:<br>
    </div>
    <blockquote
      cite="mid:1e9cd559-d277-0fb0-6b1d-d4dd54e45059@opensips.org"
      type="cite">
      <meta content="text/html; charset=windows-1252"
        http-equiv="Content-Type">
      <tt>Hi Miha,<br>
        <br>
        When you handle REGISTER requests (from behind NAT) most
        probably you use fix_nated_contact() instead of
        fix_nated_register().<br>
        <br>
        Regards,<br>
      </tt>
      <pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
      <div class="moz-cite-prefix">On 15.11.2016 09:11, Miha wrote:<br>
      </div>
      <blockquote
        cite="mid:1f44deec-ac09-9de3-c938-e18a9b4171fa@softnet.si"
        type="cite">
        <meta http-equiv="content-type" content="text/html;
          charset=windows-1252">
        <font face="Calibri Light">Hello<br>
          <br>
          i need one info.<br>
          I have one phone behind NAT and it is registered on OpenSIPS.
          IN register packet, which is send to OpenSIPS I can see
          contact:  <a moz-do-not-send="true"
            class="moz-txt-link-rfc2396E"
            href="sip:11181600519@192.168.0.101:5060;transport=UDP">"sip:11181600519@192.168.0.101:5060;transport=UDP"</a><br>
          <br>
          and let says that the public ip for this device is
          xxx.xxx.xxx.xxx.<br>
          <br>
          <br>
          When opensips sends INVITE it send to right public ip and
          right port (source ip and source port generated by router).
          The issue is this:<br>
          Invite is like:  "<a moz-do-not-send="true"
            class="moz-txt-link-freetext" href="sip:11181600519@">sip:11181600519@</a></font><font
          face="Calibri Light"><font face="Calibri Light">xxx.xxx.xxx.xxx</font>:5060;transport=UDP"
          and this request is then fw to this UAC behind router. The UAC
          replays to this INVITE with 404 Not found as it is waiting to
          receive the same URI which was written in contact (the
          userpart is ok, put the ip is public, not private and this is
          the issue).From what I can see in RFC this is the case.<br>
          <br>
          <br>
          Till now Idid not have any issues with this, but now I found
          first phone which replays with 404 and from RFC point of view
          there should be private ip request :) . So is there anything I
          can do :)?<br>
          <br>
          <br>
          tnx<br>
          miha<br>
        </font> <br>
        <fieldset class="mimeAttachmentHeader"></fieldset>
        <br>
        <pre wrap="">_______________________________________________
Users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a moz-do-not-send="true" 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>
    </blockquote>
    <br>
  </body>
</html>