How to split opensips and rtpproxy servers just one public IP

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

How to split opensips and rtpproxy servers just one public IP

mojtaba esfandiari
Hello,
I had opensips with public IP.
i run rtpproxy on local server. the opensips has two IP (public and private). the private IP of opensips is the same local with rtpproxy.
openssips IPs: 10.10.12.1 and 192.168.10.1
rtpproxy IPs: 192.168.10.2

I run rtpproxy with this command: rtpproxy -l 192.168.10.2 -s udp:192.168.10.2:7890 -F
ans the opensips configure rtpproxy like this:
modparam("rtpproxy", "rtpproxy_sock", "udp:192.168.20.2:7890")

both peers dont hear any things because rtpproxy works in its local IP and i need to work on public IP(10.10.12.1).
I i run rtpproxy on the same opensips server, rtp proxy works correctly. I want to split opensips and rtpproxy, i have just one public IP.
With Regards.M.E.S