<p>I pushed a patch for it - commit <a href="https://github.com/kamailio/kamailio/commit/5937b04a98204fc70ce6db2eab08c038a3497c2a" class="commit-link"><tt>5937b04</tt></a> - as I could spot, there was no locking done before the insert, but only unlocking. Would be good if you can test and report the results.</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/440#issuecomment-166310109">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AF36Zd1G9UR3ElE0e4ZPfeLhB25WRyV3ks5pR_uogaJpZM4G0lKX.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/440#issuecomment-166310109"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>