X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=FS%2FFS%2Fcdr%2Fconexiant.pm;h=4ee3f149dbd9ec44fc20425c3b857702e1af06bb;hp=852c2f60febf4b0684efb5ab6c848dd77d443bb8;hb=a21d07037590cccd5ac5c572f5d28f062c622968;hpb=091e39d6952f3ae61b4993b19643fec6e4a52979 diff --git a/FS/FS/cdr/conexiant.pm b/FS/FS/cdr/conexiant.pm index 852c2f60f..4ee3f149d 100644 --- 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) = @_; + #filter out already-imported cdrs here 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); }