<p></p>
<blockquote>
<p>Then isn't it a bug in pua_dialoginfo?</p>
</blockquote>
<p>I don't think so. The purpose of E-Tag is to identify a state of the resource. If the resource changes a new E-Tag has to be generated. <a href="https://tools.ietf.org/html/rfc5839#page-20" rel="nofollow">Generating Entity-tags</a><br>
In this case, pua_dialoginfo is changing the state so a new E-Tag has to be generated and the record in db in this case must be updated. Not insert a new one.</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, <a href="https://github.com/kamailio/kamailio/issues/2414#issuecomment-666196311">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZMQ4C5OFHCZMS5F3T3R6EQCJANCNFSM4PLSO44A">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABO7UZJ6YZQMB5T72NCON7TR6EQCJA5CNFSM4PLSO44KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOE62VSVY.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/issues/2414#issuecomment-666196311",
"url": "https://github.com/kamailio/kamailio/issues/2414#issuecomment-666196311",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>