projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c0afff8
)
fix zero call duration appearing on invoices when upstream_simple rating is used...
author
Mark Wells
<mark@freeside.biz>
Mon, 5 May 2014 16:58:09 +0000
(09:58 -0700)
committer
Mark Wells
<mark@freeside.biz>
Mon, 5 May 2014 16:59:55 +0000
(09:59 -0700)
FS/FS/cdr.pm
patch
|
blob
|
history
diff --git
a/FS/FS/cdr.pm
b/FS/FS/cdr.pm
index
583e728
..
d3e44fe
100644
(file)
--- a/
FS/FS/cdr.pm
+++ b/
FS/FS/cdr.pm
@@
-999,6
+999,8
@@
sub rate_upstream_simple {
sprintf('%.3f', $self->upstream_price),
$opt{'svcnum'},
'rated_classnum' => $self->calltypenum,
+ 'rated_seconds' => $self->billsec,
+ # others? upstream_*_regionname => rated_regionname is possible
);
}