[SR-Users] Kamailio 4.4 NAT issue, nathelper I can not get to work

Jason Davies jason445531 at gmail.com
Wed May 3 11:47:54 CEST 2017


Hello

I have my servers behind a NAT, with servers that make a call with bypass
media / direct media all works fine. But when my media servers need to
process audio I'm having issues. Looking at the SDP my local IP of the
server is in there.

I changed my config to add the nethelper.so and add the below:




# ----- NAT Helper -----
#!ifdef WITH_NAT
#modparam("nathelper", "rtpproxy_sock", "udp:127.0.0.1:7722")
modparam("nathelper", "natping_interval", 30)
modparam("nathelper", "ping_nated_only", 1)
#modparam("nathelper", "sipping_bflag", 7)
#modparam("nathelper", "sipping_from", "sip:pinger at kamailio.org")
#modparam("registrar|nathelper", "received_avp", "$avp(i:80)")
#modparam("usrloc", "nat_bflag", 6)
#!endif


In my route I added:

if (search("User-Agent: FS Box") {fix_nated_sdp("3");};
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20170503/68f39cda/attachment.html>


More information about the sr-users mailing list