[freeside-commits] freeside/FS/FS/part_pkg voip_cdr.pm, 1.101, 1.102
Mark Wells
mark at wavetail.420.am
Mon Sep 27 15:59:49 PDT 2010
Update of /home/cvs/cvsroot/freeside/FS/FS/part_pkg
In directory wavetail.420.am:/tmp/cvs-serv4969/part_pkg
Modified Files:
voip_cdr.pm
Log Message:
don't use decimal minutes in call detail format
Index: voip_cdr.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/part_pkg/voip_cdr.pm,v
retrieving revision 1.101
retrieving revision 1.102
diff -u -w -d -r1.101 -r1.102
--- voip_cdr.pm 25 Sep 2010 00:56:32 -0000 1.101
+++ voip_cdr.pm 27 Sep 2010 22:59:47 -0000 1.102
@@ -561,7 +561,9 @@
@call_details = ($cdr->downstream_csv( 'format' => $output_format,
'charge' => $charge,
- 'seconds' => $seconds,
+ 'seconds' => ($use_duration ?
+ $cdr->duration :
+ $cdr->billsec),
'granularity' => $granularity,
)
);
@@ -685,7 +687,9 @@
@call_details = (
$cdr->downstream_csv( 'format' => $output_format,
'granularity' => $rate_detail->sec_granularity,
- 'seconds' => $seconds,
+ 'seconds' => ($use_duration ?
+ $cdr->duration :
+ $cdr->billsec),
'charge' => $charge,
'pretty_dst' => $pretty_destnum,
'dst_regionname' => $regionname,
More information about the freeside-commits
mailing list