bell west CDR format, RT#4403
[freeside.git] / FS / FS / part_pkg / voip_cdr.pm
index 79e50b5..4f41764 100644 (file)
@@ -114,7 +114,7 @@ tie my %temporalities, 'Tie::IxHash',
     '411_rewrite' => { 'name' => 'Rewrite these (comma-separated) destination numbers to 411 for rating purposes: ',
                       },
 
-    'output_format' => { 'name' => 'Simple output format',
+    'output_format' => { 'name' => 'CDR invoice display format',
                          'type' => 'select',
                          'select_options' => { FS::cdr::invoice_formats() },
                          'default'        => 'default', #XXX test
@@ -382,6 +382,7 @@ sub calc_recur {
         $charges += $charge;
 
         @call_details = ($cdr->downstream_csv( 'format' => $output_format ));
+        $classnum = $cdr->calltypenum;
 
       } else {
         die "don't know how to rate CDRs using method: $rating_method\n";