38278: Removing duplicate CDR entries prior to billing [changed status to skipped]
authorJonathan Prykop <jonathan@freeside.biz>
Tue, 4 Oct 2016 20:32:18 +0000 (15:32 -0500)
committerJonathan Prykop <jonathan@freeside.biz>
Tue, 4 Oct 2016 20:32:18 +0000 (15:32 -0500)
FS/bin/freeside-cdrrewrited

index 34a2068..bb16059 100644 (file)
@@ -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