allow upstream_simple to specify a usage_class for tax purposes in calltypenum
authorjeff <jeff>
Tue, 30 Dec 2008 19:13:02 +0000 (19:13 +0000)
committerjeff <jeff>
Tue, 30 Dec 2008 19:13:02 +0000 (19:13 +0000)
FS/FS/part_pkg/voip_cdr.pm

index 79e50b5..8bfeeeb 100644 (file)
@@ -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";