<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <font face="monospace">Hi Richard,<br>
      <br>
      having in failure route the initial RURI is the expected behavior.
      The idea of failure route is to re-take the process of routing and
      adding new branches, totally independent of the branches you tried
      before (the new attempts should start from the same "msg" as the
      previous branches)<br>
      <br>
      Regards,<br>
    </font>
    <pre class="moz-signature" cols="72">Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  <a class="moz-txt-link-freetext" href="https://www.opensips-solutions.com">https://www.opensips-solutions.com</a>
OpenSIPS Summit 27-30 Sept 2022, Athens
  <a class="moz-txt-link-freetext" href="https://www.opensips.org/events/Summit-2022Athens/">https://www.opensips.org/events/Summit-2022Athens/</a></pre>
    <div class="moz-cite-prefix">On 9/20/22 12:39 AM, Richard Revels
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAE-NtRdYF7n6GDtQV0ruBAkyi6XO5bJijtuHq4upd8rJ5C_XqQ@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div class="gmail_default" style="font-family:courier
          new,monospace">It appears to me that if I set the request uri
          in a route block and then use
          t_relay(,"somedestination proxy") to send the call that when
          it hits the failure route (in opensips 3.2.8) the request uri
          has been set back to the original uri when the call came in to
          the proxy.</div>
        <div class="gmail_default" style="font-family:courier
          new,monospace"><br>
        </div>
        <div class="gmail_default" style="font-family:courier
          new,monospace">Is this expected behaviour?  Probably should
          start with is this my imagination but it seems to be the case.</div>
        <div class="gmail_default" style="font-family:courier
          new,monospace"><br>
        </div>
        <div class="gmail_default" style="font-family:courier
          new,monospace">The scenario is that i set a request uri in the
          route block and a route header in the branch route and send
          the call through an outbound proxy and then in the failure
          route i change the route header and simply send straight to
          the domain in the request uri but that has since reverted so
          my INVITE comes back to my proxy on loopback.<br>
        </div>
        <div class="gmail_default" style="font-family:courier
          new,monospace"><br>
        </div>
        <div class="gmail_default" style="">I can adjust my config but
          want to be sure i understand what is happening first.</div>
        <div class="gmail_default" style=""><br>
        </div>
        <div class="gmail_default" style="">Richard Revels</div>
        <div>
          <div dir="ltr" class="gmail_signature"
            data-smartmail="gmail_signature">
            <div dir="ltr">
              <div dir="ltr">
                <div dir="ltr">
                  <div dir="ltr">
                    <div dir="ltr"><span></span></div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>