<p>A number of additional ports have been opened on Kamailio – the relevant one here is TCP 443. An INVITE comes in from a UA whose from URI is suffixed with :443. PUA generates a PUBLISH out of this. Log is at <a href="https://gist.githubusercontent.com/phil-lavin/c381d556c22fd29b4fde/raw/77c5b5083573fe7ef04b5e196d3f320bda6b56c2/gistfile1.txt">https://gist.githubusercontent.com/phil-lavin/c381d556c22fd29b4fde/raw/77c5b5083573fe7ef04b5e196d3f320bda6b56c2/gistfile1.txt</a>.</p>

<p>The relevant bit to the issue is the last line. PUA is trying to send the PUBLISH to the address and port taken from the from URI… however it sends it over UDP. Because Kamailio is not bound to UDP 443, the PUBLISH is not received.</p>

<p>A hacky “fix” is to make Kamailio bind to UDP 443 as well as TCP 443. I will dig into this deeper today in an attempt to find a better fix.</p>

<p>Suggestions around what is the best solution would be appreciated. I’m thinking that sending this over TCP is not desirable in most instances – unless perhaps Kamailio is only bound to TCP ports?</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/kamailio/kamailio/issues/509">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AF36ZfX_YXbU9X7geHfaicC3FplAxAZjks5pkYREgaJpZM4HaJWW.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/kamailio/kamailio/issues/509"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>