In a UAC-Kamailio-UAS scenario, we've found a case where the ACK coming
from uac is not relayed by our proxy to the uas. This is the log for the
ACK message:
<br>     Jul 27 10:04:59 theseus-test /usr/local/kamailio/sbin/kamailio[17358]:
DEBUG: &lt;core&gt; [parser/msg_parser.c:624]: SIP Request:
<br>     Jul 27 10:04:59 theseus-test /usr/local/kamailio/sbin/kamailio[17358]:
DEBUG: &lt;core&gt; [parser/msg_parser.c:626]:  method:  &lt;ACK&gt;
<br>     Jul 27 10:04:59 theseus-test /usr/local/kamailio/sbin/kamailio[17358]:
DEBUG: &lt;core&gt; [parser/msg_parser.c:628]:  uri:
<a class="moz-txt-link-rfc2396E" href="mailto:sip:59138553189@79.170.68.157">&lt;sip:59138553189@79.170.68.157&gt;</a>
<br>     Jul 27 10:04:59 theseus-test /usr/local/kamailio/sbin/kamailio[17358]:
DEBUG: &lt;core&gt; [parser/msg_parser.c:630]:  version: &lt;SIP/2.0&gt;
<br>     Jul 27 10:04:59 theseus-test /usr/local/kamailio/sbin/kamailio[17358]:
DEBUG: &lt;core&gt; [parser/parse_via.c:1286]: Found param type 235, &lt;rport&gt; =
&lt;n/a&gt;; state=6
<br>     Jul 27 10:04:59 theseus-test /usr/local/kamailio/sbin/kamailio[17358]:
DEBUG: &lt;core&gt; [parser/parse_via.c:1286]: Found param type 232, &lt;branch&gt;
= &lt;z9hG4bKKc4gKXyemS9HD&gt;; state=16
<br>     Jul 27 10:04:59 theseus-test /usr/local/kamailio/sbin/kamailio[17358]:
DEBUG: &lt;core&gt; [parser/parse_via.c:2561]: end of header reached, state=5
<br>     Jul 27 10:04:59 theseus-test /usr/local/kamailio/sbin/kamailio[17358]:
DEBUG: &lt;core&gt; [parser/msg_parser.c:511]: parse_headers: Via found, flags=2
<br>     Jul 27 10:04:59 theseus-test /usr/local/kamailio/sbin/kamailio[17358]:
DEBUG: &lt;core&gt; [parser/msg_parser.c:513]: parse_headers: this is the
first via
<br>     Jul 27 10:04:59 theseus-test /usr/local/kamailio/sbin/kamailio[17358]:
DEBUG: &lt;core&gt; [receive.c:149]: After parse_msg...
<br>     Jul 27 10:04:59 theseus-test /usr/local/kamailio/sbin/kamailio[17358]:
DEBUG: &lt;core&gt; [receive.c:190]: preparing to run routing scripts...
<br>     Jul 27 10:04:59 theseus-test /usr/local/kamailio/sbin/kamailio[17358]:
DEBUG: sl [sl_funcs.c:396]: DEBUG : sl_filter_ACK: to late to be a local
ACK!
<br>     Jul 27 10:04:59 theseus-test /usr/local/kamailio/sbin/kamailio[17358]:
DEBUG: maxfwd [mf_funcs.c:85]: value = 65
<br>     Jul 27 10:04:59 theseus-test /usr/local/kamailio/sbin/kamailio[17358]:
DEBUG: &lt;core&gt; [parser/parse_to.c:178]: DEBUG: add_param: tag=6ne1x6d6-CC-23
<br>     Jul 27 10:04:59 theseus-test /usr/local/kamailio/sbin/kamailio[17358]:
DEBUG: &lt;core&gt; [parser/parse_to.c:802]: end of header reached, state=29
<br>     Jul 27 10:04:59 theseus-test /usr/local/kamailio/sbin/kamailio[17358]:
DEBUG: &lt;core&gt; [parser/msg_parser.c:188]: DEBUG: get_hdr_field: &lt;To&gt;
[52]; uri=[<a class="moz-txt-link-abbreviated" href="mailto:sip:59138553189@79.170.68.157">sip:59138553189@79.170.68.157</a>]
<br>     Jul 27 10:04:59 theseus-test /usr/local/kamailio/sbin/kamailio[17358]:
DEBUG: &lt;core&gt; [parser/msg_parser.c:190]: DEBUG: to body
[<a class="moz-txt-link-rfc2396E" href="mailto:sip:59138553189@79.170.68.157">&lt;sip:59138553189@79.170.68.157&gt;</a>]
<br>     Jul 27 10:04:59 theseus-test /usr/local/kamailio/sbin/kamailio[17358]:
DEBUG: &lt;core&gt; [parser/msg_parser.c:168]: get_hdr_field: cseq &lt;CSeq&gt;:
&lt;31362871&gt; &lt;ACK&gt;
<br>     Jul 27 10:04:59 theseus-test /usr/local/kamailio/sbin/kamailio[17358]:
DEBUG: &lt;core&gt; [parser/msg_parser.c:202]: DEBUG: get_hdr_body :
content_length=0
<br>     Jul 27 10:04:59 theseus-test /usr/local/kamailio/sbin/kamailio[17358]:
DEBUG: &lt;core&gt; [parser/msg_parser.c:104]: found end of header
<br>     Jul 27 10:04:59 theseus-test /usr/local/kamailio/sbin/kamailio[17358]:
DEBUG: &lt;core&gt; [parser/parse_to.c:178]: DEBUG: add_param: tag=0cS8trtaF196F
<br>     Jul 27 10:04:59 theseus-test /usr/local/kamailio/sbin/kamailio[17358]:
DEBUG: &lt;core&gt; [parser/parse_to.c:802]: end of header reached, state=29
<br>     Jul 27 10:04:59 theseus-test /usr/local/kamailio/sbin/kamailio[17358]:
DEBUG: sanity [mod_sanity.c:255]: sanity checks result: 1
<br>     Jul 27 10:04:59 theseus-test /usr/local/kamailio/sbin/kamailio[17358]:
DEBUG: siputils [checks.c:106]: totag found
<br>     Jul 27 10:04:59 theseus-test /usr/local/kamailio/sbin/kamailio[17358]:
ERROR: &lt;script&gt;: ESTAMOS EN WITHIN
<br>     Jul 27 10:04:59 theseus-test /usr/local/kamailio/sbin/kamailio[17358]:
DEBUG: rr [loose.c:108]: No Route headers found
<br>     Jul 27 10:04:59 theseus-test /usr/local/kamailio/sbin/kamailio[17358]:
DEBUG: rr [loose.c:829]: There is no Route HF
<br>     Jul 27 10:04:59 theseus-test /usr/local/kamailio/sbin/kamailio[17358]:
ERROR: &lt;script&gt;: NO LOOSE ROUTE <div><br>However, in a pcap trace I clearly see the Route header:
<br>This is the Record-Route in the 200 message
<br>     Record-Route: &lt;sip:79.170.68.157;lr;ftag=330cdf48-co1022-INS033&gt;
<br>And this is the Route header in the ACk:
<br>     Route: &lt;sip:79.170.68.157;lr;ftag=330cdf48-co1022-INS033&gt;
<br><br></div><div>I haven&#39;t been able to figure out what&#39;s going on. We have plenty of
traffic working in that proxy. What am I missing?
<br><br></div><div>Thanks in advance
<br>David.
</div>