<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Hello Bonjour,</p>
<p>have a look e.g. to the nathelper module, the functions fix_nated_contact and fix_nated_sdp might help you here. In the default cfg you find also some more complete logic in the routes NATDETECT and NATMANAGE.</p>
<p>Cheers,</p>
<p>Henning<br>
</p>
<div class="moz-cite-prefix">Am 17.04.19 um 10:24 schrieb Bonjour Madame:<br>
</div>
<blockquote type="cite" cite="mid:CAEg+R1isJvZ+uFWUeUpiczsgroCrtNKqqHMNjukqcYPNMYREtQ@mail.gmail.com">
<div dir="ltr">
<p style="box-sizing:border-box;color:rgb(48,48,57);font-family:Roboto,"Helvetica
          Neue",Helvetica,Arial,sans-serif;font-size:14px">
Hello all,</p>
<p style="box-sizing:border-box;color:rgb(48,48,57);font-family:Roboto,"Helvetica
          Neue",Helvetica,Arial,sans-serif;font-size:14px">
I am dealing with a no audio issue, phones are not even ringing. There is a private IP address in the "VIA" section of the message header of the INVITE:</p>
<p style="box-sizing:border-box;color:rgb(48,48,57);font-family:Roboto,"Helvetica
          Neue",Helvetica,Arial,sans-serif;font-size:14px">
Via: SIP/2.0/UDP 192.168.1.25:65291;rport;branch=z9hG4bKPj9e3849d1981a4094a8323dad5826ec34</p>
<p style="box-sizing:border-box;color:rgb(48,48,57);font-family:Roboto,"Helvetica
          Neue",Helvetica,Arial,sans-serif;font-size:14px">
and in the contact  too:</p>
<p style="box-sizing:border-box;color:rgb(48,48,57);font-family:Roboto,"Helvetica
          Neue",Helvetica,Arial,sans-serif;font-size:14px">
Contact: <a class="moz-txt-link-rfc2396E" href="mailto:sip:5002@192.168.1.25:65291;ob">
<sip:5002@192.168.1.25:65291;ob></a></p>
<p style="box-sizing:border-box;color:rgb(48,48,57);font-family:Roboto,"Helvetica
          Neue",Helvetica,Arial,sans-serif;font-size:14px">
 </p>
<p style="box-sizing:border-box;color:rgb(48,48,57);font-family:Roboto,"Helvetica
          Neue",Helvetica,Arial,sans-serif;font-size:14px">
In the "status 100 Attempting to connect your call" from the server,  I can see the public IP of the phone under received:</p>
<p style="box-sizing:border-box;color:rgb(48,48,57);font-family:Roboto,"Helvetica
          Neue",Helvetica,Arial,sans-serif;font-size:14px">
Via: SIP/2.0/UDP 192.168.1.25:65291;rport=53990;branch=z9hG4bKPj9e3849d1981a4094a8323dad5826ec34;received=PHONE_PUBLIC_IP</p>
<p style="box-sizing:border-box;color:rgb(48,48,57);font-family:Roboto,"Helvetica
          Neue",Helvetica,Arial,sans-serif;font-size:14px">
 </p>
<p style="box-sizing:border-box;color:rgb(48,48,57);font-family:Roboto,"Helvetica
          Neue",Helvetica,Arial,sans-serif;font-size:14px">
And in the "status 200 ok" from the server, I have:</p>
<p style="box-sizing:border-box;color:rgb(48,48,57);font-family:Roboto,"Helvetica
          Neue",Helvetica,Arial,sans-serif;font-size:14px">
Via: SIP/2.0/UDP 192.168.1.25:65291;received=PHONE_PUBLIC_IP;rport=53990;branch=z9hG4bKPj9e3849d1981a4094a8323dad5826ec34<br style="box-sizing:border-box">
Record-Route: <sip:SERVER_PUBLIC_IP;lr=on;ftag=9284528256a54f8b81e692133a15684c></p>
<p style="box-sizing:border-box;color:rgb(48,48,57);font-family:Roboto,"Helvetica
          Neue",Helvetica,Arial,sans-serif;font-size:14px">
 </p>
<p style="box-sizing:border-box;color:rgb(48,48,57);font-family:Roboto,"Helvetica
          Neue",Helvetica,Arial,sans-serif;font-size:14px">
 </p>
<p style="box-sizing:border-box;color:rgb(48,48,57);font-family:Roboto,"Helvetica
          Neue",Helvetica,Arial,sans-serif;font-size:14px">
I don't know  what steps to take to resolve this issue.</p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<pre class="moz-signature" cols="72">-- 
Henning Westerholt - <a class="moz-txt-link-freetext" href="https://skalatan.de/blog/">https://skalatan.de/blog/</a>
Kamailio services - <a class="moz-txt-link-freetext" href="https://skalatan.de/services">https://skalatan.de/services</a></pre>
</body>
</html>