projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
79d6c7d
)
fix bad bug from #4763
author
mark
<mark>
Fri, 2 Jul 2010 23:36:35 +0000
(23:36 +0000)
committer
mark
<mark>
Fri, 2 Jul 2010 23:36:35 +0000
(23:36 +0000)
FS/FS/part_pkg/voip_cdr.pm
patch
|
blob
|
history
diff --git
a/FS/FS/part_pkg/voip_cdr.pm
b/FS/FS/part_pkg/voip_cdr.pm
index
0ccd835
..
0cb675f
100644
(file)
--- a/
FS/FS/part_pkg/voip_cdr.pm
+++ b/
FS/FS/part_pkg/voip_cdr.pm
@@
-602,7
+602,8
@@
sub calc_usage {
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.