<p>Hi Stefan, thanks for the pull request. Can you elaborate a bit on the failure condition that this patch solves? Shouldn't be the dialog statistics updated by the "normal" code e.g. in dlg_handlers.c? Or are you refering to conditions when a dialog is deleted <em>by</em> the event route?</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/pull/2243?email_source=notifications&email_token=ABO7UZL4KEEOJO7QOJ3LBITRGYGV7A5CNFSM4LE25RXKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEOKZEPA#issuecomment-597004860">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZPVJ7GUIHHL2BODYYLRGYGV7ANCNFSM4LE25RXA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABO7UZMFRYDJWUNU2FNME3LRGYGV7A5CNFSM4LE25RXKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEOKZEPA.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/pull/2243?email_source=notifications\u0026email_token=ABO7UZL4KEEOJO7QOJ3LBITRGYGV7A5CNFSM4LE25RXKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEOKZEPA#issuecomment-597004860",
"url": "https://github.com/kamailio/kamailio/pull/2243?email_source=notifications\u0026email_token=ABO7UZL4KEEOJO7QOJ3LBITRGYGV7A5CNFSM4LE25RXKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEOKZEPA#issuecomment-597004860",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>