From 34a63e9fab07ff8165dea6d207e088d29c880f83 Mon Sep 17 00:00:00 2001 From: Mark Wells Date: Mon, 5 May 2014 09:59:00 -0700 Subject: [PATCH] fix zero call duration appearing on invoices when upstream_simple rating is used, #28959 --- FS/FS/cdr.pm | 2 ++ 1 file changed, 2 insertions(+) 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 ); } -- 2.11.0