<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    <tt>Hi Seth,<br>
      <br>
      I see - what you actually need to do is enable RTPproxy in a per
      branch manner - in this case you can individually set RTPproxy for
      each separate branch you may have for a call.<br>
      <br>
      So, the idea is to move the place where you do the RTPproxy
      control - instead of doing it in request route (changes here will
      reflect on all future branches),&nbsp; better do it in branch route
      (where changes will be only for that particular branch).<br>
      <br>
      Regards,<br>
      Bogdan<br>
    </tt>
    <pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
    <br>
    On 07/13/2012 10:32 PM, Seth Schultz wrote:
    <blockquote
cite="mid:CA+k28CEgHz3BBbsiLudADVpNMPtZQQxFxooN9wWj_+38v8w9nQ@mail.gmail.com"
      type="cite">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. &nbsp;The gateway on the LAN needs to have
        rtp_proxy_offer("iir"), while the WAN gateways need
        rtp_proxy_offer("ier"). &nbsp;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. &nbsp;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 moz-do-not-send="true"
            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">&lt;<a
              moz-do-not-send="true" href="mailto:bogdan@opensips.org"
              target="_blank">bogdan@opensips.org</a>&gt;</span> wrote:<br>
          <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
            0.8ex; border-left: 1px solid rgb(204, 204, 204);
            padding-left: 1ex;">
            <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 moz-do-not-send="true" 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. &nbsp;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. &nbsp;Is there a way to reset rtpproxy
                  and prevent this behavior?</div>
                <div><br>
                </div>
                <div>
                  <div>v=0&nbsp;</div>
                  <div>o=FreeSWITCH 1342171498 1342171499 IN IP4
                    {INTERNAL_IP}</div>
                  <div>s=FreeSWITCH&nbsp;</div>
                  <div>c=IN IP4&nbsp;<b>{EXTERNAL_IP}{EXTERNAL_IP}</b></div>
                  <div>t=0 0&nbsp;</div>
                  <div>m=audio <a moz-do-not-send="true"
                      href="tel:4406644066" value="+14406644066"
                      target="_blank">4406644066</a> RTP/AVP 0 8 3 101&nbsp;</div>
                  <div>a=rtpmap:101 telephone-event/8000&nbsp;</div>
                  <div>a=fmtp:101 0-16&nbsp;</div>
                  <div>a=silenceSupp:off - - - -&nbsp;</div>
                  <div>a=ptime:20&nbsp;</div>
                  <div><b>a=nortpproxy:yes&nbsp;</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 moz-do-not-send="true" href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a moz-do-not-send="true" 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>
    </blockquote>
  </body>
</html>