<div dir="ltr"><div dir="ltr"><div>Hi Daniel,</div><div><br></div><div>Certainly, here is the sequence including INVITE and 200 OK. I note that the Contact on the 200 OK doesn't mention TLS, but the Record-Route header does.<br></div><div>Thank you.</div><div></div><div><br>Session Initiation Protocol (INVITE)<br>    Request-Line: INVITE <a href="http://sips:105@es8.example.com:5061">sips:105@es8.example.com:5061</a> SIP/2.0<br>    Message Header<br>        Via: SIP/2.0/TLS 50.78.xx.xx:5061;branch=z9hG4bK1836763299<br>        Route: <sip:70.42.yy.yy:5061;transport=tls;lr><br>        From: ES8 Test 102 <<a href="mailto:sips%3A111111@es8.example.com">sips:111111@es8.example.com</a>>;tag=Nf5GG!Orq!MSmGfeu66F03F2114df82b<br>        To: <<a href="http://sips:105@es8.example.com:5061">sips:105@es8.example.com:5061</a>><br>        Call-ID: 222222@50.78.xx.xx<br>        CSeq: 94679 INVITE<br>        Contact: <sips:111111@50.78.xx.xx:5061;transport=tls><br>        Supported: 100rel<br>        Proxy-Authorization: Digest username="111111", realm="<a href="http://es8.example.com">es8.example.com</a>", nonce="XG71VFxu9CjpZnZTIQhhf5V1KmKWmQes", uri="<a href="mailto:sip%3A105@192.168.3.1">sip:105@192.168.3.1</a>;user=phone", response="60059b561416f1a184d556d5cf116014", algorithm=MD5<br>        Max-Forwards: 70<br>        User-Agent: ewb2bua/15.3.0<br>        Allow: INVITE, ACK, OPTIONS, BYE, CANCEL, REFER, NOTIFY, INFO, PRACK, UPDATE, MESSAGE<br>        Content-Type: application/sdp<br>        Content-Length:   387<br>    Message Body<br><br><br>Session Initiation Protocol (200)<br>    Status-Line: SIP/2.0 200 OK<br>    Message Header<br>        Via: SIP/2.0/TLS 50.78.xx.xx:5061;rport=43290;branch=z9hG4bK1836763299<br>        Record-Route: <sips:70.42.yy.yy;r2=on;lr=on><br>        Record-Route: <sips:70.42.yy.yy:5061;transport=tls;r2=on;lr=on><br>        From: ES8 Test 102 <<a href="mailto:sips%3A111111@es8.example.com">sips:111111@es8.example.com</a>>;tag=Nf5GG!Orq!MSmGfeu66F03F2114df82b<br>        To: <<a href="http://sips:105@es8.example.com:5061">sips:105@es8.example.com:5061</a>>;tag=as7a72b209<br>        Call-ID: 222222@50.78.xx.xx<br>        CSeq: 94679 INVITE<br>        Server: ES8<br>        Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE<br>        Supported: replaces, timer<br>        Contact: <sips:105@70.42.yy.yy:5070><br>        Content-Type: application/sdp<br>        Content-Length: 337<br>    Message Body<br><br><br>Session Initiation Protocol (ACK)<br>    Request-Line: ACK sips:105@70.42.xx.xx:5070 SIP/2.0<br>    Message Header<br>        Via: SIP/2.0/TLS 50.78.yy.yy:5061;branch=z9hG4bK741961203<br>        Route: <sips:70.42.xx.xx:5061;transport=tls;r2=on;lr=on><br>        Route: <sips:70.42.xx.xx;r2=on;lr=on><br>        From: ES8 Test 102 <<a href="mailto:sips%3A111111@es8.example.com">sips:111111@es8.example.com</a>>;tag=Nf5GG!Orq!MSmGfeu66F03F2114df82b<br>        To: <<a href="http://sips:105@es8.example.com:5061">sips:105@es8.example.com:5061</a>>;tag=as7a72b209<br>        Call-ID: 222222@50.78.yy.yy<br>        CSeq: 94679 ACK<br>        Contact: <sips:111111@50.78.yy.yy:5061;transport=tls><br>        Max-Forwards: 70<br>        User-Agent: ewb2bua/15.3.0<br>        Content-Length: 0<br><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 22 Feb 2019 at 20:16, Daniel-Constantin Mierla <<a href="mailto:miconda@gmail.com">miconda@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF">
    <p>Hello,</p>
    <p>do you have the INVITE and the 200ok corresponding to this ACK? I
      need to see the R-URI of INVITE as well as the contact in 200ok in
      order to analyze why sips appears in ACK.<br>
    </p>
    <p>SIPS requirements are sort of a mess, probably the best would be
      to let it for config to decide when to allow forwarding or not in
      case of sips URI.</p>
    <p>Cheers,<br>
      Daniel<br>
    </p>
    <div class="gmail-m_-8712203262127663602moz-cite-prefix">On 22.02.19 02:58, David Cunningham
      wrote:<br>
    </div>
    <blockquote type="cite">
      
      <div dir="ltr">
        <div dir="ltr">
          <div>Hello all,</div>
          <div><br>
          </div>
          <div>We're having an issue with Kamailio not processing an ACK
            and hope someone can help. A PCAP shows that Kamailio is
            receiving the ACK, and we believe these log messages are
            directly related to it:</div>
          <div dir="ltr"><br>
            Feb 21 10:54:01 hostname /sbin/kamailio[15854]: ERROR: tm
            [ut.h:279]: uri2dst2(): ERROR: uri2dst: bad transport for
            sips uri: 1<br>
            Feb 21 10:54:01 hostname /sbin/kamailio[15854]: ERROR: tm
            [t_fwd.c:1777]: t_forward_nonack(): ERROR: t_forward_nonack:
            failure to add branches<br>
            Feb 21 10:54:01 hostname /sbin/kamailio[15854]: ERROR: sl
            [sl_funcs.c:387]: sl_reply_error(): ERROR: sl_reply_error
            used: Unresolvable destination (478/SL)<br>
            <div><br>
            </div>
            <div>The ACK is as follows. It's from telephone 111111 which
              is using TLS, which Kamailio listens for on port 5061.</div>
            <div>Does anyone know which URI has the bad transport as per
              the error above? Might it be the From URI "<a href="mailto:sips%3A111111@es8.example.com" target="_blank">sips:111111@es8.example.com</a>"
              because it doesn't specify port 5061?</div>
            <div>Thank you in advance.<br>
            </div>
            <div><br>
              Session Initiation Protocol (ACK)<br>
                  Request-Line: ACK <a class="gmail-m_-8712203262127663602moz-txt-link-abbreviated" href="mailto:sips:105@70.42.xx.xx:5070" target="_blank">sips:105@70.42.xx.xx:5070</a> SIP/2.0<br>
                  Message Header<br>
                      Via: SIP/2.0/TLS
              50.78.yy.yy:5061;branch=z9hG4bK741961203<br>
                      Route:
              <sips:70.42.xx.xx:5061;transport=tls;r2=on;lr=on><br>
                      Route: <sips:70.42.xx.xx;r2=on;lr=on><br>
                      From: ES8 Test 102 <<a href="mailto:sips%3A111111@es8.example.com" target="_blank">sips:111111@es8.example.com</a>>;tag=Nf5GG!Orq!MSmGfeu66F03F2114df82b<br>
                      To: <<a href="http://sips:105@es8.example.com:5061" target="_blank">sips:105@es8.example.com:5061</a>>;tag=as7a72b209<br>
                      Call-ID: <a class="gmail-m_-8712203262127663602moz-txt-link-abbreviated" href="mailto:222222@50.78.yy.yy" target="_blank">222222@50.78.yy.yy</a><br>
                      CSeq: 94679 ACK<br>
                      Contact:
              <a class="gmail-m_-8712203262127663602moz-txt-link-rfc2396E" href="mailto:sips:111111@50.78.yy.yy:5061;transport=tls" target="_blank"><sips:111111@50.78.yy.yy:5061;transport=tls></a><br>
                      Max-Forwards: 70<br>
                      User-Agent: ewb2bua/15.3.0<br>
                      Content-Length: 0<br>
            </div>
            <div><br>
            </div>
            -- <br>
            <div dir="ltr" class="gmail-m_-8712203262127663602gmail_signature">
              <div dir="ltr">
                <div>
                  <div dir="ltr">
                    <div>
                      <div dir="ltr">
                        <div>
                          <div dir="ltr">
                            <div>
                              <div dir="ltr">
                                <div>David Cunningham, Voisonics Limited<br>
                                  <a href="http://voisonics.com/" target="_blank">http://voisonics.com/</a><br>
                                  USA: +1 213 221 1092<br>
                                  New Zealand: +64 (0)28 2558 3782</div>
                              </div>
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="gmail-m_-8712203262127663602mimeAttachmentHeader"></fieldset>
      <pre class="gmail-m_-8712203262127663602moz-quote-pre">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="gmail-m_-8712203262127663602moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a>
<a class="gmail-m_-8712203262127663602moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </blockquote>
    <pre class="gmail-m_-8712203262127663602moz-signature" cols="72">-- 
Daniel-Constantin Mierla -- <a class="gmail-m_-8712203262127663602moz-txt-link-abbreviated" href="http://www.asipto.com" target="_blank">www.asipto.com</a>
<a class="gmail-m_-8712203262127663602moz-txt-link-abbreviated" href="http://www.twitter.com/miconda" target="_blank">www.twitter.com/miconda</a> -- <a class="gmail-m_-8712203262127663602moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda" target="_blank">www.linkedin.com/in/miconda</a>
Kamailio World Conference - May 6-8, 2019 -- <a class="gmail-m_-8712203262127663602moz-txt-link-abbreviated" href="http://www.kamailioworld.com" target="_blank">www.kamailioworld.com</a>
Kamailio Advanced Training - Mar 4-6, 2019 in Berlin; Mar 25-27, 2019, in Washington, DC, USA -- <a class="gmail-m_-8712203262127663602moz-txt-link-abbreviated" href="http://www.asipto.com" target="_blank">www.asipto.com</a></pre>
  </div>

</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>David Cunningham, Voisonics Limited<br><a href="http://voisonics.com/" target="_blank">http://voisonics.com/</a><br>USA: +1 213 221 1092<br>New Zealand: +64 (0)28 2558 3782</div></div></div></div></div></div></div></div></div></div></div>