<p>Not sure if this is related, but if OpenSIPS receives an INVITE as a TLS UAS then the bug also occurs in the Contact generated by OpenSIPS:</p>

<pre><code>Contact: &lt;sip:1.2.3.4:5060;transport=tls;did=872.61496c02&gt; #should be 5061
</code></pre>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">&mdash;<br>Reply to this email directly or <a href="https://github.com/OpenSIPS/opensips/issues/690#issuecomment-153747998">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AFOcifrcXKkjx278BaJ64M2X7qgvcC0Wks5pChEXgaJpZM4Gbqwr.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/OpenSIPS/opensips/issues/690#issuecomment-153747998"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>