backup the schema for tables we don't need the data from. RT#85959
[freeside.git] / FS / FS / cdr / vitelity.pm
index 97ed0c3..4ef3089 100644 (file)
@@ -15,7 +15,10 @@ use FS::cdr qw(_cdr_date_parser_maker);
     _cdr_date_parser_maker('startdate'),
     'src',
     'dst',
-    'duration',
+    sub { my($cdr, $field) = @_;
+          $cdr->set(duration => $field);
+          $cdr->set(billsec  => $field);
+        },
     'clid',
     'disposition',
     'upstream_price',