RTPPROXY behind the NAT: -A advaddr1[/advaddr2] -l addr1[/addr2] settings
yboujraf opened this issue · comments
Dear all
I compiled with success the rtpproxy but not sure it is compatible with Kamailio 4.4 on Debian Stretch.
I have rtpproxy & kamailio behind the NAT.
The setup is :
RTPPROXY :
'-A advaddr1[/advaddr2]' parameter and in kamailio adding 'listen=' parameter, could fix my issue?
rtpproxy -u rtpproxy:rtpproxy -A PRIVATE_IP/PUBLIC_IP -s udp:PRIVATE_IP:7722 -l PRIVATE_IP/PUBLIC_IP -m 11000 -M 12000 -d DBUG:LOG_LOCAL5 -p /var/run/rtpproxy/rtpproxy.pid
KAMAILIO :
listen=udp:PRIVATE_IP:5060 advertise PUBLIC_IP:5060
listen=tcp:PRIVATE_IP:5060 advertise PUBLIC_IP:5060
Do I need to add extra code in kamailio routing to enable advertise for NAT ?
Best Regards,