From b0d75dedc9872dd7c24f5d13e50b63afb6372740 Mon Sep 17 00:00:00 2001 From: Jonathan Prykop Date: Tue, 4 Oct 2016 15:32:18 -0500 Subject: [PATCH] 38278: Removing duplicate CDR entries prior to billing [changed status to skipped] --- FS/bin/freeside-cdrrewrited | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.11.0