<p></p>
<h3>Description</h3>
<p>I haven't found a way to skip CDR generation per call once <a href="http://kamailio.org/docs/modules/devel/modules/acc.html#acc.p.cdr_enable" rel="nofollow">cdr_enable modparam</a> is enabled.</p>
<h3>Expected behavior</h3>
<p>I have implemented via <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/irontec/kamailio/commit/38964a31d6c0158b7c9bb3abb4e9eb72aa8cd960/hovercard" href="https://github.com/irontec/kamailio/commit/38964a31d6c0158b7c9bb3abb4e9eb72aa8cd960">irontec/kamailio@<tt>38964a3</tt></a> adding a new modparam with the dlg_var name that will prevent CDR generation for calls with that dlg_var set.</p>
<h4>Actual observed behavior</h4>
<p>Once CDR generation is enabled with <a href="http://kamailio.org/docs/modules/devel/modules/acc.html#acc.p.cdr_enable" rel="nofollow">cdr_enable modparam</a> all calls generate CDR.</p>
<h3>Additional Information</h3>
<p>I can make a PR adapting that patch and documenting new modparam, as long as there is no way of achieving it that I have missed and if you find it useful.</p>
<p>Thank you and regards,</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/2348">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZJ7UPBZ3YKGZDMFH4TRVDSUDANCNFSM4NTQYDUQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABO7UZPOVPPAYDGK2NHWR5DRVDSUDA5CNFSM4NTQYDU2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4JNE5CDA.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/2348",
"url": "https://github.com/kamailio/kamailio/issues/2348",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>