Hi Matt,<div>I don't totally understand to why you need to run two RTPproxy on one same opensips servers with one listening on Public IP and the other one also listening on the same public IP but bridged with LAN IP.!! ?</div>
<div><br></div><div><font face="Courier New" style="color: rgb(34, 34, 34); font-size: 13px; background-color: rgba(255, 255, 255, 0.917969); ">rtpproxy1 started with '-l 12.157.5.6' </font><br style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 13px; background-color: rgba(255, 255, 255, 0.917969); ">
<font face="Courier New" style="color: rgb(34, 34, 34); font-size: 13px; background-color: rgba(255, 255, 255, 0.917969); ">rtpproxy2 (bridge mode) started with '-l <a href="http://12.157.5.6/192.168.100.75" target="_blank" style="color: rgb(17, 85, 204); ">12.157.5.6/192.168.100.75</a>'</font><font face="Courier New" style="color: rgb(34, 34, 34); font-size: 13px; background-color: rgba(255, 255, 255, 0.917969); "><br>
</font></div><div><br></div><div><font face="Courier New" style="color: rgb(34, 34, 34); font-size: 13px; background-color: rgba(255, 255, 255, 0.917969); "> | |<br></font><font face="Courier New" style="color: rgb(34, 34, 34); font-size: 13px; background-color: rgba(255, 255, 255, 0.917969); "> | |<br>
</font><font face="Courier New" style="color: rgb(34, 34, 34); font-size: 13px; background-color: rgba(255, 255, 255, 0.917969); ">UAC--------------Firewall-----------------Opensips-----------------Asterisk</font><font face="Courier New" style="color: rgb(34, 34, 34); font-size: 13px; background-color: rgba(255, 255, 255, 0.917969); "><br>
</font><font face="Courier New" style="color: rgb(34, 34, 34); font-size: 13px; background-color: rgba(255, 255, 255, 0.917969); ">192.168.1.2 70.147.3.4 | 12.157.5.6 | 192.168.100.128</font><font face="Courier New" style="color: rgb(34, 34, 34); font-size: 13px; background-color: rgba(255, 255, 255, 0.917969); "><br>
</font><font face="Courier New" style="color: rgb(34, 34, 34); font-size: 13px; background-color: rgba(255, 255, 255, 0.917969); "> | 192.168.100.75 | </font><font face="Courier New" style="color: rgb(34, 34, 34); font-size: 13px; background-color: rgba(255, 255, 255, 0.917969); "><br>
</font><font face="Courier New" style="color: rgb(34, 34, 34); font-size: 13px; background-color: rgba(255, 255, 255, 0.917969); "> | |</font><font face="Courier New" style="color: rgb(34, 34, 34); font-size: 13px; background-color: rgba(255, 255, 255, 0.917969); "><br>
</font><font face="Courier New" style="color: rgb(34, 34, 34); font-size: 13px; background-color: rgba(255, 255, 255, 0.917969); "> NAT1 NAT2 </font><font face="Courier New" style="color: rgb(34, 34, 34); font-size: 13px; background-color: rgba(255, 255, 255, 0.917969); "><br>
</font><font face="Courier New" style="color: rgb(34, 34, 34); font-size: 13px; background-color: rgba(255, 255, 255, 0.917969); "> </font><font face="Courier New" style="color: rgb(34, 34, 34); font-size: 13px; background-color: rgba(255, 255, 255, 0.917969); ">rtpproxy1 rtpproxy2 (bridge mode)<br>
</font><br><div class="gmail_quote">My suggestion is to run RTPproxy just once in bridging mode and see what rtpproxy configuration options you are missing in your configurations to fix the audio issues. I seriously think that by handling NAT flags and forcing rtpproxy in correct "ie" and "ei" flags you'll be able to get 100% both way audio with just one RTPproxy bridged instance.</div>
<div class="gmail_quote"><br></div><div class="gmail_quote">Regards,</div><div class="gmail_quote">Sammy. </div><div class="gmail_quote"><br></div><div class="gmail_quote">On Tue, Dec 6, 2011 at 10:14 PM, Bogdan-Andrei Iancu <span dir="ltr"><<a href="mailto:bogdan@opensips.org">bogdan@opensips.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><u></u>
<div bgcolor="#ffffff" text="#000000">
Hi Matt,<br>
<br>
If you need to change network on each NAT, then you will definitely
need 2 instances of rtpproxies (of course, if the call requires the
RTP to traverse all 3 networks.<br>
<br>
For chaining multiple RTPproxyes, try to :<br>
1) set the "f" flag<br>
2) set the "r" flag<br>
<br>
See
<a href="http://www.opensips.org/html/docs/modules/1.7.x/rtpproxy.html#id292738" target="_blank">http://www.opensips.org/html/docs/modules/1.7.x/rtpproxy.html#id292738</a><br>
<br>
Regards,<br>
Bogdan<div><div class="h5"><br>
<br>
On 12/06/2011 05:33 PM, Matt Hamilton wrote:
</div></div><blockquote type="cite"><div><div class="h5">
<div dir="ltr">
<font face="Courier New">I'm trying to handle NAT in 2
different places - far-end between UAC </font><font face="Courier New">and Opensips, and between Opensips and
Asterisk cluster behind. I was able to get them going
separately, but have been some audio problems when I try to
put them together using only 1 rtpproxy (is this possible?).
Anyway is it possible/easier/feasible to use a separate proxy
for each NAT traversal?<br>
<br>
<br>
<br>
</font><font face="Courier New"><br>
</font><font face="Courier New">rtpproxy1
started with '-l 12.157.5.6' </font><br>
<font face="Courier New">rtpproxy2 (bridge mode)
started with '-l <a href="http://12.157.5.6/192.168.100.75" target="_blank">12.157.5.6/192.168.100.75</a>'</font><font face="Courier New"><br>
</font><font face="Courier New"><br>
</font><font face="Courier New">
| |<br>
</font><font face="Courier New">
| |<br>
</font><font face="Courier New">UAC--------------Firewall-----------------Opensips-----------------Asterisk</font><font face="Courier New"><br>
</font><font face="Courier New">192.168.1.2
70.147.3.4 | 12.157.5.6 |
192.168.100.128</font><font face="Courier New"><br>
</font><font face="Courier New">
| 192.168.100.75 | </font><font face="Courier New"><br>
</font><font face="Courier New">
| |</font><font face="Courier New"><br>
</font><font face="Courier New">
NAT1 NAT2 </font><font face="Courier New"><br>
</font><font face="Courier New">
</font><font face="Courier New">rtpproxy1
rtpproxy2 (bridge mode)<br>
<br>
<br>
Thanks a lot,<br>
Matt<br>
</font> </div>
</div></div><pre><fieldset></fieldset>
_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><span class="HOEnZb"><font color="#888888">
</font></span></pre><span class="HOEnZb"><font color="#888888">
</font></span></blockquote><span class="HOEnZb"><font color="#888888">
<br>
<br>
<pre cols="72">--
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
OpenSIPS solutions and "know-how"</pre>
</font></span></div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>