Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RTPPROXY behind the NAT: -A advaddr1[/advaddr2] -l addr1[/addr2] settings #123

Open
yboujraf opened this issue Sep 28, 2021 · 0 comments
Open

Comments

@yboujraf
Copy link

yboujraf commented Sep 28, 2021

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,

@yboujraf yboujraf changed the title RTPPROXY : -l parameter to setup when only one NIC interface (private ip) RTPPROXY behind the NAT Oct 1, 2021
@yboujraf yboujraf changed the title RTPPROXY behind the NAT RTPPROXY behind the NAT: -A advaddr1[/advaddr2] Oct 1, 2021
@yboujraf yboujraf changed the title RTPPROXY behind the NAT: -A advaddr1[/advaddr2] RTPPROXY behind the NAT: -A advaddr1[/advaddr2] -l addr1[/addr2] settings Oct 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant