[freeside-commits] branch master updated. abfd0a30a2963696b8d6f5962ade955ee57414b2

Mark Wells mark at 420.am
Wed Apr 30 14:25:16 PDT 2014


The branch, master has been updated
       via  abfd0a30a2963696b8d6f5962ade955ee57414b2 (commit)
      from  2f83aa0920cd03724adf25b7ffb89890d43d96ce (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 abfd0a30a2963696b8d6f5962ade955ee57414b2
Author: Mark Wells <mark at freeside.biz>
Date:   Wed Apr 30 14:25:01 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