X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fcdr%2Fconexiant.pm;h=4ee3f149dbd9ec44fc20425c3b857702e1af06bb;hb=57bb423fe457ba4e13726877f53bcdf944f828f8;hp=852c2f60febf4b0684efb5ab6c848dd77d443bb8;hpb=07f96113f8da936c6255245c42f941ae8a3bb16f;p=freeside.git 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); }