<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <div class="moz-cite-prefix">On 02.09.2020 13:55, Giovanni
      Maruzzelli wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CALXCt0oxJbSeiP0_iXv35kAetsRhQEpBN5=x73jTcbq2998=Hw@mail.gmail.com">
      <blockquote class="gmail_quote" style="margin:0px 0px 0px
        0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
        <div dir="ltr">
          <div>I cannot xlog/trace the ACK sent by a phone after it
            receives the 407 from opensips</div>
          <div><br>
          </div>
        </div>
      </blockquote>
      <div><br>
      </div>
      <div>Using latest 3.0.x</div>
    </blockquote>
    <p><tt>Hi, Giovanni!</tt></p>
    <p><tt>Since you seem to be talking about a hop-by-hop ACK (ACK to a
        [3456]xx SIP reply), I suspect this "if" condition is basically
        catching your ACK too early, before you are able to ship it to
        Homer:<br>
      </tt></p>
    <p><tt>    ...<br>
            if (has_totag()) {<br>
                # handle hop-by-hop ACK (no routing required)<br>
                if ( is_method("ACK") && t_check_trans() ) {<br>
                    t_relay();<br>
                    exit;<br>
                }</tt></p>
    <p><tt>    ...</tt></p>
    <p><tt>Hope this helps,</tt><br>
    </p>
    <pre class="moz-signature" cols="72">-- 
Liviu Chircu
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/liviuchircu">www.twitter.com/liviuchircu</a> | <a class="moz-txt-link-abbreviated" href="http://www.opensips-solutions.com">www.opensips-solutions.com</a>

OpenSIPS Summit 2020 Distributed
  <a class="moz-txt-link-abbreviated" href="http://www.opensips.org/events/Summit-2020Distributed">www.opensips.org/events/Summit-2020Distributed</a></pre>
  </body>
</html>