projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a96c5c7
)
38278: Removing duplicate CDR entries prior to billing [changed status to skipped]
author
Jonathan Prykop
<jonathan@freeside.biz>
Tue, 4 Oct 2016 20:32:18 +0000
(15:32 -0500)
committer
Jonathan Prykop
<jonathan@freeside.biz>
Wed, 5 Oct 2016 20:57:08 +0000
(15:57 -0500)
FS/bin/freeside-cdrrewrited
patch
|
blob
|
history
diff --git
a/FS/bin/freeside-cdrrewrited
b/FS/bin/freeside-cdrrewrited
index
34a2068
..
bb16059
100644
(file)
--- 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
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');
}
}
push(@status,'duplicate');
}
}
@@
-294,7
+294,7
@@
of the following config options are enabled:
=item cdr-skip_duplicate_rewrite
=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
a src, dst and calldate identical to an existing CDR
=item cdr-asterisk_australia_rewrite