diff options
author | Mark Wells <mark@freeside.biz> | 2014-05-05 09:58:09 -0700 |
---|---|---|
committer | Mark Wells <mark@freeside.biz> | 2014-05-05 09:59:55 -0700 |
commit | 7344af8dd13cef85f7e58bbb258a56ed1f724e72 (patch) | |
tree | fe986cf52a4d5c709b5a21740f95aa43e0195489 | |
parent | c0afff8c23e18fc39e60219b2b48dcdde14bd5d8 (diff) |
fix zero call duration appearing on invoices when upstream_simple rating is used, #28959
-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 583e728c5..d3e44fedb 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 ); } |