<div dir="ltr"><div>Hi,</div><div><br></div><div><br></div><div>1. After adding t_newtran() as shown below, some how this got fixed i.e. ACK got routed.<br></div><div><br></div><div>However, we are disputed in considering t_newtran() to have caused the fix.</div>
<div><br></div><div><div style="font-family:arial,sans-serif;font-size:12.800000190734863px">if (is_method("ACK")) {</div><div style="font-family:arial,sans-serif;font-size:12.800000190734863px">                                if (t_check_trans()) {</div>
<div style="font-family:arial,sans-serif;font-size:12.800000190734863px">                                        t_relay();</div><div style="font-family:arial,sans-serif;font-size:12.800000190734863px">                                        exit;</div>
<div style="font-family:arial,sans-serif;font-size:12.800000190734863px">                                } else {                        </div><div style="font-family:arial,sans-serif;font-size:12.800000190734863px"><span style="font-family:arial;font-size:small">                                              <b> t_newtran(); #<<<<NEW ADD>>>></b></span><br>
</div><div style="font-family:arial,sans-serif;font-size:12.800000190734863px">                                        exit;</div><div style="font-family:arial,sans-serif;font-size:12.800000190734863px">                                }</div>
</div><div style="font-family:arial,sans-serif;font-size:12.800000190734863px"><br></div><div style="font-family:arial,sans-serif;font-size:12.800000190734863px">2. Is there a frequently used tool remove the private info. from the snoop traces before sending in as debug info.</div>
<div style="font-family:arial,sans-serif;font-size:12.800000190734863px"><br></div><div style="font-family:arial,sans-serif;font-size:12.800000190734863px">One way to remove the info, is to convert snoop to text and then replace all IPs and passwords using sed but I need something less time consuming.</div>
<div style="font-family:arial,sans-serif;font-size:12.800000190734863px"><br></div><div style="font-family:arial,sans-serif;font-size:12.800000190734863px">Br</div><div style="font-family:arial,sans-serif;font-size:12.800000190734863px">
Adnan</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Nov 27, 2013 at 11:30 PM, Daniel-Constantin Mierla <span dir="ltr"><<a href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    For further clarification, the Contact header is not relevant at all
    (so not used) for routing current request (no matter is ACK or
    something else). No Contact never results in misrouting. As Alex
    pointed, only a full sip trace can reveal the problem.<br>
    <br>
    Cheers,<br>
    Daniel<div><div class="h5"><br>
    <br>
    <div>On 11/27/13 8:31 PM, Alex Balashov
      wrote:<br>
    </div>
    </div></div><blockquote type="cite"><div><div class="h5">The only way to diagnose this is to get a full packet
      capture. In all likelihood, there is a problem with the ACK. 4.0
      does not, in principle, mishandle ACKs, no, but loose-routing and
      NAT problems related to their handling are not uncommon. <br>
      <br>
      <br>
      <div class="gmail_quote">Adnan <a href="mailto:112linuxstockholm@gmail.com" target="_blank"><112linuxstockholm@gmail.com></a>
        wrote:
        <blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
          <div dir="ltr">Hi,
            <div><br>
            </div>
            <div>We are migrating from our openser 1.4 to kamailio 4.0.3
              and have run into a couple of issues. One of them is
              described below and we need to know if it is a known bug
              or not.<br>
              <div><br>
              </div>
              <div>Kamailio receives an INVITE from a gateway and
                finally responds with 200 OK. Then an ACK is generated
                by the gateway towards the Kamailio that some how does
                not get relayed to the next hop.</div>
              <div><br>
              </div>
              <div>The only special aspect here is that the ACK does not
                contain a Contact header. Is that something that could
                confuse kamailio and make it unable to relay?</div>
              <div><br>
              </div>
              <div>According to SIP RFC, a contact header in ACK is not
                a must have. Our case is the one where ACK  is sent by
                the UAC after receiving a 200 OK final response.
                Everything else about the ACK looks OK e.g. ACK has a
                branch different from the the branch value in the UAC
                INVITE.</div>
              <div><br>
              </div>
              <div>Is it a a known bug in 4.0.3?</div>
              <div><br>
              </div>
              <div>In the configuration, we handle ACK as below:</div>
              <div><br>
              </div>
              <div>
                <div>if (is_method("ACK")) {</div>
                <div>                                if
                  (t_check_trans()) {</div>
                <div>                                        t_relay();</div>
                <div>                                        exit;</div>
                <div>                                } else {          
                               </div>
                <div>                                        exit;</div>
                <div>                                }</div>
                <div>                       </div>
              </div>
              <div>Br<br>
              </div>
              <div>Adnan</div>
            </div>
          </div>
          <pre><hr>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
        </blockquote>
      </div>
      <br>
      --<br>
      Sent from my mobile, and thus lacking in the refinement one might
      expect from a fully fledged keyboard. <br>
      <br>
      Alex Balashov - Principal <br>
      Evariste Systems LLC<br>
      235 E Ponce de Leon Ave<br>
      Suite 106<br>
      Decatur, GA 30030<br>
      United States<br>
      Tel: <a href="tel:%2B1-678-954-0671" value="+16789540671" target="_blank">+1-678-954-0671</a><br>
      Web: <a href="http://www.evaristesys.com" target="_blank">http://www.evaristesys.com</a>/,
      <a href="http://www.alexbalashov.com" target="_blank">http://www.alexbalashov.com</a>
      <br>
      <fieldset></fieldset>
      <br>
      </div></div><pre>_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><span class="HOEnZb"><font color="#888888">
</font></span></pre><span class="HOEnZb"><font color="#888888">
    </font></span></blockquote><span class="HOEnZb"><font color="#888888">
    <br>
    <pre cols="72">-- 
Daniel-Constantin Mierla - <a href="http://www.asipto.com" target="_blank">http://www.asipto.com</a>
<a href="http://twitter.com/#!/miconda" target="_blank">http://twitter.com/#!/miconda</a> - <a href="http://www.linkedin.com/in/miconda" target="_blank">http://www.linkedin.com/in/miconda</a></pre>
  </font></span></div>

<br>_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
<br></blockquote></div><br></div>