diff options
author | Mark Wells <mark@freeside.biz> | 2014-05-05 09:59:00 -0700 |
---|---|---|
committer | Mark Wells <mark@freeside.biz> | 2014-05-05 09:59:00 -0700 |
commit | 34a63e9fab07ff8165dea6d207e088d29c880f83 (patch) | |
tree | 436737cfabc24a736a4efb78270f3654e2155a80 /FS/FS/cdr.pm | |
parent | 757e46b0e68d6f729618b4ed20c420b5a9665ade (diff) |
fix zero call duration appearing on invoices when upstream_simple rating is used, #28959
Diffstat (limited to 'FS/FS/cdr.pm')
-rw-r--r-- | FS/FS/cdr.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/FS/FS/cdr.pm b/FS/FS/cdr.pm index 583e728..d3e44fe 100644 --- 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 ); } |