<p></p>
<p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/miconda/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/miconda">@miconda</a>, thank you for the detailed follow up.  I am looking at what it would take on my end to package up an install based on master to provide better feedback on this.</p>
<p dir="auto">In the meantime, I do think it's interesting that the acc_cdrs (on the 5.6 branch with tip <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/kamailio/kamailio/commit/ebda78c92c21770af1a32afc2930740b80d73fd3/hovercard" href="https://github.com/kamailio/kamailio/commit/ebda78c92c21770af1a32afc2930740b80d73fd3"><tt>ebda78c</tt></a>) contains the correct call duration, and that the duration is duplicated into the start_time and end_time -- wondering if it's related to <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/kamailio/kamailio/commit/60a62d6f7df233d61d4ccecc39504e77e25421b8/hovercard" href="https://github.com/kamailio/kamailio/commit/60a62d6f7df233d61d4ccecc39504e77e25421b8"><tt>60a62d6</tt></a>.</p>
<p dir="auto">The following are the only changes to the acc or dialog modules between the 5.6.1 release (which works) and <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/kamailio/kamailio/commit/ebda78c92c21770af1a32afc2930740b80d73fd3/hovercard" href="https://github.com/kamailio/kamailio/commit/ebda78c92c21770af1a32afc2930740b80d73fd3"><tt>ebda78c</tt></a> (which doesn't).</p>
<p dir="auto"><code class="notranslate">$ git log --oneline 5.6.1..ebda78c92c -- src/modules/{acc,dialog}/</code><br>
<a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/kamailio/kamailio/commit/ad753f4657bc72a79fd61b56276de5ae87b3c574/hovercard" href="https://github.com/kamailio/kamailio/commit/ad753f4657bc72a79fd61b56276de5ae87b3c574"><tt>ad753f4</tt></a> modules: readme files regenerated - modules ... [skip ci]<br>
<a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/kamailio/kamailio/commit/644938a6be5f841634f2e1443e5f123f683c45e4/hovercard" href="https://github.com/kamailio/kamailio/commit/644938a6be5f841634f2e1443e5f123f683c45e4"><tt>644938a</tt></a> dialog: remove strlen() checks when setting a variable<br>
<a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/kamailio/kamailio/commit/2427f1951a1c63a8c047710d49ef06788c33c869/hovercard" href="https://github.com/kamailio/kamailio/commit/2427f1951a1c63a8c047710d49ef06788c33c869"><tt>2427f19</tt></a> dialog: wrapper function to set a dlg var with unsigned integer parameter<br>
<a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/kamailio/kamailio/commit/38cbf04afa2c02fa2f15bb1528d6b7f152c89d08/hovercard" href="https://github.com/kamailio/kamailio/commit/38cbf04afa2c02fa2f15bb1528d6b7f152c89d08"><tt>38cbf04</tt></a> dialog: fetch directly the int value for dlg variable used in dlg_cseq_update()<br>
<a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/kamailio/kamailio/commit/363a6267c4c50b6e321e59961dedc4a6f65fc940/hovercard" href="https://github.com/kamailio/kamailio/commit/363a6267c4c50b6e321e59961dedc4a6f65fc940"><tt>363a626</tt></a> dialog: safer version for getting dlg variable value<br>
<a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/kamailio/kamailio/commit/948f066718e102a7d592ef647754ba088f1eb0c6/hovercard" href="https://github.com/kamailio/kamailio/commit/948f066718e102a7d592ef647754ba088f1eb0c6"><tt>948f066</tt></a> dialog: updated to get the int value for cseq update operations<br>
<a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/kamailio/kamailio/commit/60a62d6f7df233d61d4ccecc39504e77e25421b8/hovercard" href="https://github.com/kamailio/kamailio/commit/60a62d6f7df233d61d4ccecc39504e77e25421b8"><tt>60a62d6</tt></a> acc: duplicate dlg var values used in extra2strar_dlg_only()<br>
<a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/kamailio/kamailio/commit/5bcb685d19b55b3b2046345e195e5deca53e179a/hovercard" href="https://github.com/kamailio/kamailio/commit/5bcb685d19b55b3b2046345e195e5deca53e179a"><tt>5bcb685</tt></a> dialog: dont reset dlg_db_mode in POSTCHILDINIT for DB_MODE_SHUTDOWN<br>
<a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/kamailio/kamailio/commit/e8d797cb26e2b16dff3afd7ecb54beb7012e0370/hovercard" href="https://github.com/kamailio/kamailio/commit/e8d797cb26e2b16dff3afd7ecb54beb7012e0370"><tt>e8d797c</tt></a> acc: add some explanation that dialogs need to be tracked for CDR accounting</p>
<p dir="auto">I'm thinking I can try to revert these one-at-a-time and see what happens (probably starting with <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/kamailio/kamailio/commit/60a62d6f7df233d61d4ccecc39504e77e25421b8/hovercard" href="https://github.com/kamailio/kamailio/commit/60a62d6f7df233d61d4ccecc39504e77e25421b8"><tt>60a62d6</tt></a>).  If there isn't a 5.7 version planned for some time, perhaps a 5.6 revert and/or other fix is necessary (assuming the master changes are too invasive to backport directly).</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/issues/3243#issuecomment-1258790027">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZNDN2VGCD6T4R4Y6VLWAIZX7ANCNFSM6AAAAAAQPMQPYA">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/ABO7UZKDSU2OAD4KW3NRAA3WAIZX7A5CNFSM6AAAAAAQPMQPYCWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTSLA6OIW.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><kamailio/kamailio/issues/3243/1258790027</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/issues/3243#issuecomment-1258790027",
"url": "https://github.com/kamailio/kamailio/issues/3243#issuecomment-1258790027",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>