<p>Using another function that tries to access the same location record that expired is trying to lock same slot in usrloc internal hash table. The solution would be implementing re-entrant locks there. I will try to do it when I get the first chance.</p>

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