[freeside-commits] freeside/FS/FS/part_pkg voip_cdr.pm,1.90,1.91

Mark Wells mark at wavetail.420.am
Fri Jul 2 16:36:38 PDT 2010


Update of /home/cvs/cvsroot/freeside/FS/FS/part_pkg
In directory wavetail.420.am:/tmp/cvs-serv8522/FS/FS/part_pkg

Modified Files:
	voip_cdr.pm 
Log Message:
fix bad bug from #4763

Index: voip_cdr.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/part_pkg/voip_cdr.pm,v
retrieving revision 1.90
retrieving revision 1.91
diff -u -w -d -r1.90 -r1.91
--- voip_cdr.pm	1 Jul 2010 01:53:50 -0000	1.90
+++ voip_cdr.pm	2 Jul 2010 23:36:35 -0000	1.91
@@ -602,7 +602,8 @@
             if(@{ $interval_cache{$regionnum} } == 0) {
               # There are no timed rates in this group, so just stay 
               # in the default rate_detail for the entire duration.
-              $etime = 0;
+              # Set an "end" of 1 past the end of the current call.
+              $etime = $weektime + $seconds_left + 1;
             } 
             elsif($ratetimenum) {
               # This is a timed rate, so go to the etime of this interval.



More information about the freeside-commits mailing list