[freeside-commits] branch FREESIDE_3_BRANCH updated. 58a0db634098b684ea8118822b6586deb99e214d
Mark Wells
mark at 420.am
Wed Apr 30 14:25:16 PDT 2014
The branch, FREESIDE_3_BRANCH has been updated
via 58a0db634098b684ea8118822b6586deb99e214d (commit)
from c6e2d9b32a06741d5497f5a9ab00031c18802ea1 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 58a0db634098b684ea8118822b6586deb99e214d
Author: Mark Wells <mark at freeside.biz>
Date: Wed Apr 30 14:23:39 2014 -0700
on Vitelity CDRs, import call duration to billsec, #27186
diff --git a/FS/FS/cdr/vitelity.pm b/FS/FS/cdr/vitelity.pm
index 97ed0c3..eadaf47 100644
--- a/FS/FS/cdr/vitelity.pm
+++ b/FS/FS/cdr/vitelity.pm
@@ -15,6 +15,10 @@ use FS::cdr qw(_cdr_date_parser_maker);
_cdr_date_parser_maker('startdate'),
'src',
'dst',
+ sub { my($cdr, $field) = @_;
+ $cdr->set(duration => $field);
+ $cdr->set(billsec => $field);
+ },
'duration',
'clid',
'disposition',
-----------------------------------------------------------------------
Summary of changes:
FS/FS/cdr/vitelity.pm | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
More information about the freeside-commits
mailing list