<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Hi,<br>
    <br>
    In the initial invite the contact header the tls part is missing:<br>
    <br>
       Contact: <a class="moz-txt-link-rfc2396E" href="mailto:sip:4640@4.3.2.1:5060"><sip:4640@4.3.2.1:5060></a><br>
    <br>
    it should have sips and transport=tls otherwise it will default to
    sip/udp, it's probably here the cause of your issue...<br>
    <br>
    Since you have tls_only = true, FS shouldn't reply to the that
    contact or place a error message "wrong contact... or something"...
    <br>
    did you try with last git? can you try? and if it fails open a jira
    so the dev team can take a look.<br>
    <br>
    <br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 01/12/2018 06:07 PM, Geoff Mina
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAKzROs0ZJ1CWvz4UEdk5C5UyxV3di0+yQbV-rEv7A73M3z8egg@mail.gmail.com">
      <div dir="ltr">Greetings,<br clear="all">
        <div>
          <div class="gmail_signature" data-smartmail="gmail_signature">
            <div dir="ltr">
              <div dir="ltr">
                <div dir="ltr">
                  <div dir="ltr">
                    <p style="font-size:12.8px">I have a pretty odd
                      issue that I have no idea how to resolve.  We have
                      a Sofia profile that is TLS only.  It listens on
                      5061.  This is with an upstream vendor and we want
                      them to be able to send inbound calls to
                      extensions without register.</p>
                    <p style="font-size:12.8px">Our FS instance is
                      sending back "transport=udp" and port 5060 in the
                      Contact header of the 200 OK.  Even though the
                      invite is for TLS and the sip_profile is
                      tls-only=true.  I have attached a SIP trace and a
                      copy of our external.xml sofia profile.  </p>
                    <p style="font-size:12.8px">I am thinking this is a
                      Freeswitch bug - or maybe just an oddly documented
                      "feature".  Any help is really appreciated.  </p>
                    <p style="font-size:12.8px">In the sip-trace
                      attached, you can see an INVITE followed by a
                      Trying and then an OK.  The OK has Contact
                      information for transport=udp and port 5060, which
                      is invalid, so the ACK never gets back to us and
                      we retransmit the 200 OK until it expires.</p>
                    <p style="font-size:12.8px">Thanks,</p>
                    <p style="font-size:12.8px">Geoff</p>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>

Official FreeSWITCH Sites
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://confluence.freeswitch.org">http://confluence.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.cluecon.com">http://www.cluecon.com</a>

FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a></pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Saludos / Regards / Cumprimentos
António Silva</pre>
  </body>
</html>