<div dir="ltr"><div>Olá Nuno,</div><div><br></div><div>I've similar setup, and everything works fine. I can share the setup, if you wish.</div><div>Contact me directly.</div><div><br></div><div>Cheers,<br></div><div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><p style="color:rgb(0,0,0);margin:0px;font-size:11pt;font-family:Calibri,sans-serif;background-color:rgb(253,253,253)"><b><span style="font-size:9pt;font-family:Arial,sans-serif"><br></span></b></p><div style="font-size:small"><div><div dir="ltr"><p style="color:rgb(0,0,0);margin:0px;font-size:11pt;font-family:Calibri,sans-serif;background-color:rgb(253,253,253)"><b><span style="font-size:9pt;font-family:Arial,sans-serif">Sérgio Charrua</span></b></p><p style="color:rgb(0,0,0);margin:0px;font-size:11pt;font-family:Calibri,sans-serif;background-color:rgb(253,253,253)"><b><span style="font-size:9pt;font-family:Arial,sans-serif;color:red"><span style="color:rgb(0,0,0)"></span><span style="color:rgb(51,102,255)"><a href="http://www.voip.pt/" style="color:rgb(17,85,204)" target="_blank">www.voip.pt</a></span></span></b><span style="font-size:x-small"><span style="font-family:Arial,sans-serif;color:rgb(136,136,136)"><br></span><span style="font-family:Arial,sans-serif">Mobile: <span style="color:rgb(51,102,153)"><a href="callto:+351+91+104+12+66" style="color:rgb(51,102,153);text-decoration:none" target="_blank">+351 91 </a>631 11 44<br></span></span><span style="font-family:'Times New Roman',serif"></span></span></p><p style="color:rgb(0,0,0);margin:0px;font-size:11pt;font-family:Calibri,sans-serif;background-color:rgb(253,253,253)"><span style="font-size:x-small"><span style="font-family:Arial,sans-serif;color:rgb(187,187,187)"><span style="color:rgb(128,128,128)">Email : <b><a href="mailto:sergio.charrua@voip.pt" style="color:rgb(17,85,204)" target="_blank">sergio.charrua@voip.pt</a></b></span><br>Esta mensagem e quaisquer ficheiros anexos a ela são confidenciais e destinam-se a uso exclusivo da pessoa ou entidade a quem são dirigidos. Se, por lapso, recebeu este e-mail, não o deverá revelar, copiar ou distribuir a terceiros. É favor alertar de imediato o remetente e eliminar a mensagem juntamente com os documentos anexados.</span><span style="font-family:'Times New Roman',serif"></span></span></p><p style="color:rgb(0,0,0);margin:0px;font-size:11pt;font-family:Calibri,sans-serif;background-color:rgb(253,253,253)"><span style="font-size:x-small"> </span></p></div></div></div><div style="font-size:small"><br></div></div></div></div></div></div></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jan 15, 2020 at 6:49 PM Nuno Miguel Reis <<a href="mailto:nmreis@student.dei.uc.pt">nmreis@student.dei.uc.pt</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hi guys.</div><div><br></div><div>I'm replacing a environment where I was using kamailio + freeswitch by another where I'm adding rtpengine to the mix.</div><div>One of the issues I'm having now is when I have a SIP Client behind NAT:</div><div><br></div><div>When I send the INVITE from the SIP Client, the SDP is using the private LAN IP address + the advertised media port, let's admit it's <a href="http://10.10.10.10:5000" target="_blank">10.10.10.10:5000</a> when the call establishes with a public server running kamailio + rtpengine, the actual RTP arrives from the home router public IP on a natted port, let's admit it's <a href="http://100.100.100.100:65100" target="_blank">100.100.100.100:65100</a>, event though, RTPENGINE assumes that RTP stream is coming from <a href="http://100.100.100.100" target="_blank">100.100.100.100</a>:<span style="background-color:rgb(255,0,0)">5000.<span style="background-color:rgb(255,255,255)"> I'm using the '--sip-source' with RTPENGINE to make it use the received ip address instead of the private IP coming in the SDP but I'm not finding anything to make RTPENGINE adapt an start sending the RTP FLOW to the port where he starts receiving the RTP flow from, discarding the SDP media port information.</span></span></div><div><span style="background-color:rgb(255,0,0)"><span style="background-color:rgb(255,255,255)"><br></span></span></div><div><span style="background-color:rgb(255,0,0)"><span style="background-color:rgb(255,255,255)">In my previous setup with freeswitch alone, freeswitch did this transparently. How do you guys solve this issue in RTPENGINE?</span></span></div><div><span style="background-color:rgb(255,0,0)"><span style="background-color:rgb(255,255,255)"><br></span></span></div><div><span style="background-color:rgb(255,0,0)"><span style="background-color:rgb(255,255,255)">Regards,</span></span><br></div><div><div><div dir="ltr">--<br>Nuno Miguel Reis<br>Departamento de Engenharia Informática  <br>Faculdade de
    Ciências e Tecnologia  <br>Universidade de Coimbra<br></div></div></div></div>
_______________________________________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote></div>