[SR-Users] Kamalio + RTP Engine + SIP Client behind NAT

Alex Balashov abalashov at evaristesys.com
Wed Jan 15 20:55:27 CET 2020


Perhaps this article can be of aid:

http://www.evaristesys.com/blog/server-side-nat-traversal-with-kamailio-the-definitive-guide/

On Wed, Jan 15, 2020 at 07:20:14PM +0000, David Villasmil wrote:

> Are you using nathelper? it should take care of that for you.
> although old, this might point in the right direction
> https://nil.uniza.sk/configuring-nat-traversal-using-kamailio-31-and-rtpproxy-server/
> 
> Regards,
> 
> David Villasmil
> email: david.villasmil.work at gmail.com
> phone: +34669448337
> 
> 
> On Wed, Jan 15, 2020 at 6:47 PM Nuno Miguel Reis <nmreis at student.dei.uc.pt>
> wrote:
> 
> > Hi guys.
> >
> > I'm replacing a environment where I was using kamailio + freeswitch by
> > another where I'm adding rtpengine to the mix.
> > One of the issues I'm having now is when I have a SIP Client behind NAT:
> >
> > 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
> > 10.10.10.10:5000 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 100.100.100.100:65100, event though,
> > RTPENGINE assumes that RTP stream is coming from 100.100.100.100:5000.
> > 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.
> >
> > In my previous setup with freeswitch alone, freeswitch did this
> > transparently. How do you guys solve this issue in RTPENGINE?
> >
> > Regards,
> > --
> > Nuno Miguel Reis
> > Departamento de Engenharia Informática
> > Faculdade de Ciências e Tecnologia
> > Universidade de Coimbra
> > _______________________________________________
> > Kamailio (SER) - Users Mailing List
> > sr-users at lists.kamailio.org
> > https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
> >

> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


-- 
Alex Balashov | Principal | Evariste Systems LLC

Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free) 
Web: http://www.evaristesys.com/, http://www.csrpswitch.com/



More information about the sr-users mailing list