<p>Hi,</p>

<p>Issue <a href="https://github.com/OpenSIPS/opensips/issues/552" class="issue-link" title="mi_xmlrpc_ng &amp; mi_json answer bug with pua_publish">#552</a> was recently fixed, but I fear not all problems are gone.</p>

<p>We are experiencing several cases where the json call over http times out with no answer being given after a few seconds.</p>

<p>The easiest way to reproduce it is to trigger a PUBLISH to publish some state, then to send a PUBLISH with expires=0. I can reproduce the problem 100% of the time doing so.</p>

<p>Looking at the attached opensips.log, you will see that the PUBLISH with expires=0 works, but that there is no answer from mi_json:<br>
Sep 28 14:16:48 golgoth05 opensips[3980]: DBG:mi_json:mi_json_run_mi_cmd: got mi_rpl=[0xffffffffffffffff]<br>
Sep 28 14:16:48 golgoth05 opensips[3980]: DBG:mi_json:mi_json_answer_to_connection: got an async reply</p>

<p>Then nothing more.</p>

<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/657">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AFOciVTzDXtKxrRx9YiekgWWvk5mIv4oks5o2SoxgaJpZM4GE3w1.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/657"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>