diff options
author | mark <mark> | 2010-07-02 23:36:35 +0000 |
---|---|---|
committer | mark <mark> | 2010-07-02 23:36:35 +0000 |
commit | ee971eea93c15afbd36849fa97db6c166c6a1f9d (patch) | |
tree | 3e40f7be29670a46a6ce6c89140531ba4e786293 | |
parent | 79d6c7de91b50df4bea46c1bd9433440164faeaf (diff) |
fix bad bug from #4763
-rw-r--r-- | FS/FS/part_pkg/voip_cdr.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/FS/FS/part_pkg/voip_cdr.pm b/FS/FS/part_pkg/voip_cdr.pm index 0ccd83505..0cb675f97 100644 --- 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. |