<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Yes, it appears. I defined WITH_NAT, and I can see a clause "<font
      face="Courier New, Courier, monospace">#!ifdef WITH_NAT
      force_rport();</font>", so yes. I have also rtpproxy running with
    Kamailio, now that I think of it.<br>
    <br>
    <div class="moz-cite-prefix">On 10/08/2015 14:55, Daniel Tryba
      wrote:<br>
    </div>
    <blockquote cite="mid:2972332.c7iAZ3rIvm@pcdaniel" type="cite">
      <pre wrap="">On Monday 10 August 2015 14:43:06 Jean-Marie Baran wrote:
</pre>
      <blockquote type="cite">
        <pre wrap="">We see clearly that the port is wrong here. But in the received SIP 
frame, everything suggests that the correct port is 5060, and I do not 
think Kamailio will look at the transport frame to send the response 
back to the correct port. Am I correct stating this ?
</pre>
      </blockquote>
      <pre wrap="">
Are you using force_rport()? That should send a reply to the source ip/port of 
the socket.

_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </blockquote>
    <br>
    <div class="moz-signature">-- <br>
      <meta http-equiv="content-type" content="text/html;
        charset=windows-1252">
      <title></title>
      <b>Jean-Marie Baran</b><br>
      AMA developer
      <div class="moz-signature"> <br>
        Skype: jeanmarie.baran<br>
        Email: <a href="mailto:jean-marie.baran@ama.bzh">jean-marie.baran@ama.bzh</a><br>
        <a href="http://www.advancedmedicalapplications.com">www.advancedmedicalapplications.com</a><br>
        <img alt="AMA Logo" src="cid:part3.00030504.05010705@ama.bzh"
          height="100" width="284"><br>
      </div>
    </div>
  </body>
</html>