projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
include batch payment and statement events in reports, RT#80156
[freeside.git]
/
FS
/
FS
/
cdr
/
conexiant.pm
diff --git
a/FS/FS/cdr/conexiant.pm
b/FS/FS/cdr/conexiant.pm
index
852c2f6
..
4ee3f14
100644
(file)
--- a/
FS/FS/cdr/conexiant.pm
+++ b/
FS/FS/cdr/conexiant.pm
@@
-15,9
+15,10
@@
use FS::cdr qw( _cdr_date_parser_maker _cdr_min_parser_maker );
skip(3), #LookupError,Direction,LegType
sub { #CallId
my($cdr,$value,$conf,$param) = @_;
skip(3), #LookupError,Direction,LegType
sub { #CallId
my($cdr,$value,$conf,$param) = @_;
+ #filter out already-imported cdrs here
if (qsearchs('cdr',{'uniqueid' => $value})) {
$param->{'skiprow'} = 1;
if (qsearchs('cdr',{'uniqueid' => $value})) {
$param->{'skiprow'} = 1;
- $param->{'
empty_ok'} = 1;
+ $param->{'
unique_skip'} = 1; #tell batch_import why we're skipping
} else {
$cdr->uniqueid($value);
}
} else {
$cdr->uniqueid($value);
}