<p>In <a href="https://github.com/kamailio/kamailio/pull/390#discussion_r44639943">modules/rtpengine/rtpengine_hash.c</a>:</p>
<pre style='color:#555'>> +    }
> +
> +  // get first entry from entry list; jump over unused list head
> +  hash_index = str_hash(key);
> +  entry = rtpengine_hash_table->entry_list[hash_index];
> +  last_entry = entry;
> +
> +  // lock
> +  lock_get(rtpengine_hash_lock);
> +  while (entry) {
> +          // if key found, return entry
> +          if (str_equal(&entry->callid, (str *)key)) {
> +                  // unlock
> +                  lock_release(rtpengine_hash_lock);
> +
> +                  return entry;
</pre>
<p>True, I'll return just the node.</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/pull/390/files#r44639943">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AF36ZQW56HYiTx08kiGGwD78cfQNeqt4ks5pFF1CgaJpZM4GcraR.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/pull/390/files#r44639943"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>