X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=bin%2Fcdr.http_and_import;h=8910eece68745c70df3b7e09e433aaea41ec96d1;hp=5637fa5263911a6d653dc88461a825ea2409aa6f;hb=811c95da18776232da103fd445e2def019f98d5b;hpb=0da7ecb92ccd671c47cb7fd4d04560cc80d4b520 diff --git a/bin/cdr.http_and_import b/bin/cdr.http_and_import index 5637fa526..8910eece6 100755 --- a/bin/cdr.http_and_import +++ b/bin/cdr.http_and_import @@ -85,10 +85,10 @@ foreach my $file ( @files ) { warn "Processing $filename\n" if $opt_v; my $error = FS::cdr::batch_import( { - 'file' => "$cachedir/$filename", - 'format' => $format, - 'params' => { 'cdrbatch' => $filename }, - 'empty_ok' => 1, + 'file' => "$cachedir/$filename", + 'format' => $format, + 'batch_namevalue' => $filename, + 'empty_ok' => 1, } ); die $error if $error;