Bogdan,<div><br></div><div>The reason I am doing this is because I have outbound call PSTN gateways on both the LAN and WAN and these are in the same load balancing group. The gateway on the LAN needs to have rtp_proxy_offer("iir"), while the WAN gateways need rtp_proxy_offer("ier"). So if I try on an external gateway with rtp_proxy_offer("ier") and then it hits my failure route and the load balancer picks the LAN gateway, then I need to have it use rtp_proxy_offer("iir").</div>
<div><br></div><div>I guess I was hoping the unforce_rtp_proxy would clear it for the branch and then I could do another offer. To fix the issue I will just remove the outbound LAN gateway for now.</div><div><br></div><div>
Thanks,</div><div>Seth<br clear="all"><br><div>---</div><div>Seth Schultz</div><div>E-Mail: <a href="mailto:sschultz@scholarchip.com" target="_blank">sschultz@scholarchip.com</a></div><div>Phone: 212.255.8005 x 124</div><div>
Fax: 212.255.8091</div><br>
<br><br><div class="gmail_quote">On Fri, Jul 13, 2012 at 1:49 PM, Bogdan-Andrei Iancu <span dir="ltr"><<a href="mailto:bogdan@opensips.org" target="_blank">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">
<tt>Hi Seth,<br>
<br>
you should not do rtp_proxy_offer() twice for the same branch - do
it only once! Why the need to unforce and force again ?<br>
<br>
Regards,<br>
Bogdan<br>
</tt>
<pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre>
<br>
On 07/13/2012 06:40 PM, Seth Schultz wrote:
<blockquote type="cite">Hello All,
<div><br>
</div>
<div>I am having an issue with RTPProxy and load balancing
failover support. In my failure block, I am first calling
unforce_rtp_proxy(), then load balancing to a new destination,
and calling rtp_proxy_offer().</div>
<div><br>
</div>
<div>The issue I am having is that it is duplicating the
a=nortpproxy:yes SDP line twice and also rewriting the
EXTERNAL_IP twice. Is there a way to reset rtpproxy and prevent
this behavior?</div>
<div><br>
</div>
<div>
<div>v=0 </div>
<div>o=FreeSWITCH 1342171498 1342171499 IN IP4 {INTERNAL_IP}</div>
<div>s=FreeSWITCH </div>
<div>c=IN IP4 <b>{EXTERNAL_IP}{EXTERNAL_IP}</b></div>
<div>t=0 0 </div>
<div>m=audio <a href="tel:4406644066" value="+14406644066" target="_blank">4406644066</a> RTP/AVP 0 8 3 101 </div>
<div>a=rtpmap:101 telephone-event/8000 </div>
<div>a=fmtp:101 0-16 </div>
<div>a=silenceSupp:off - - - - </div>
<div>a=ptime:20 </div>
<div><b>a=nortpproxy:yes </b></div>
<div><b>a=nortpproxy:yes</b></div>
</div>
<div><b><br>
</b></div>
<div>Thanks,</div>
<div>Seth</div>
<div><br>
</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>
</pre>
</blockquote>
</div>
</blockquote></div><br></div>