From: Mark Wells Date: Mon, 5 May 2014 16:59:00 +0000 (-0700) Subject: fix zero call duration appearing on invoices when upstream_simple rating is used... X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=34a63e9fab07ff8165dea6d207e088d29c880f83 fix zero call duration appearing on invoices when upstream_simple rating is used, #28959 --- 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 ); }