[OpenSIPS-Users] rtp proxy not listening on correct IP

Dovid Bender dovid at telecurve.com
Fri May 22 11:28:06 EST 2020


Hi,

I have a box on AWS with two IP's. I start rtpproxy with:
/usr/bin/rtpproxy -f -p /var/run/rtpproxy/rtpproxy.pid -d DBUG -s
unix:/var/run/rtpproxy/rtpproxy.sock -m 10000 -M 30000 -s udp:10.0.0.61
22222 -l 10.0.0.61

When a call comes in it seems RTP proxy is only listening for the RTP
packets on the boxes main IP 10.0.0.60 and not what I specified with the l
flag which is 10.0.0.61. Below is the output of netstat when a call is made

[root at ip-10-0-0-60 opensips]# netstat -ntupl | grep rtp
udp        0      0 10.0.0.60:24494         0.0.0.0:*
    28088/rtpproxy
udp        0      0 10.0.0.60:24495         0.0.0.0:*
    28088/rtpproxy
udp        0      0 10.0.0.60:22474         0.0.0.0:*
    28088/rtpproxy
udp        0      0 10.0.0.60:22475         0.0.0.0:*
    28088/rtpproxy
udp        0      0 10.0.0.61:22222         0.0.0.0:*
    28088/rtpproxy
[root at ip-10-0-0-60 opensips]#
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20200522/609c7461/attachment.html>


More information about the Users mailing list