Are you inserting somehow recordds directly to the database? The error says that event value was not in the database.
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?
What database engine you use? Kamailio version?
--- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/104#issuecomment-78875684