From: Jonathan Prykop Date: Tue, 4 Oct 2016 20:32:18 +0000 (-0500) Subject: 38278: Removing duplicate CDR entries prior to billing [changed status to skipped] X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=b0d75dedc9872dd7c24f5d13e50b63afb6372740 38278: Removing duplicate CDR entries prior to billing [changed status to skipped] --- diff --git a/FS/bin/freeside-cdrrewrited b/FS/bin/freeside-cdrrewrited index 34a206849..bb16059c3 100644 --- a/FS/bin/freeside-cdrrewrited +++ b/FS/bin/freeside-cdrrewrited @@ -88,7 +88,7 @@ while (1) { if ($isdup) { #we only act on this cdr, not touching previous dupes #if a dupe somehow creeped in previously, too late to fix it - $cdr->freesidestatus('done'); #prevent it from being billed + $cdr->freesidestatus('skipped'); #prevent it from being billed push(@status,'duplicate'); } } @@ -294,7 +294,7 @@ of the following config options are enabled: =item cdr-skip_duplicate_rewrite -Marks as 'done' (prevents billing for) any CDRs with +Marks as 'skipped' (prevents billing for) any CDRs with a src, dst and calldate identical to an existing CDR =item cdr-asterisk_australia_rewrite