<p>Are you inserting somehow recordds directly to the database? The error says that event value was not in the database.</p>

<p>The second is about a duplicate key that shows only etag, can you look at the pua table in database and see if there are values for call_id, from_tag and tuple_id?</p>

<p>What database engine you use? Kamailio version?</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/104#issuecomment-78875684">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AF36ZZZjrAtB43iZ3Mu3-3UQNEN_ZKXDks5n0p7CgaJpZM4DpU8i.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/104#issuecomment-78875684"></link>
    <meta itemprop="name" content="View Issue"></meta>
  </div>
  <meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>