[freeside-commits] branch master updated. 0aeefc7821956bcf6e6db5a5932b7e2b7ce4b029

Jeremy Davis jeremyd at 420.am
Tue May 26 07:48:56 PDT 2015


The branch, master has been updated
       via  0aeefc7821956bcf6e6db5a5932b7e2b7ce4b029 (commit)
      from  e7809349b0af99c9cb36becc2cbb2906b6076656 (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 0aeefc7821956bcf6e6db5a5932b7e2b7ce4b029
Author: Jeremy Davis <jeremyd at freeside.biz>
Date:   Tue May 26 10:48:06 2015 -0400

    VSS CDR format mis-spelled

diff --git a/FS/FS/cdr/vvs.pm b/FS/FS/cdr/vvs.pm
new file mode 100644
index 0000000..63a647e
--- /dev/null
+++ b/FS/FS/cdr/vvs.pm
@@ -0,0 +1,33 @@
+package FS::cdr::vvs;
+
+use strict;
+use vars qw( @ISA %info $tmp_mon $tmp_mday $tmp_year );
+use Time::Local;
+use FS::cdr qw(_cdr_date_parser_maker);
+
+ at ISA = qw(FS::cdr);
+
+%info = (
+  'name'          => 'VVS',
+  'weight'        => 120,
+  'header'        => 1,
+  'import_fields' => [
+
+        skip(1),        # i_customer
+        'accountcode',  # account_id
+        'src',          # caller
+        'dst',          # called
+        skip(2),        # reason
+			# call id
+        _cdr_date_parser_maker('startdate'),       # time
+        'billsec',      # duration
+        skip(3),        # ringtime
+                        # status
+                        # resller_charge
+       'upstream_price',# customer_charge
+  ],
+);
+
+sub skip { map {''} (1..$_[0]) }
+
+1;

-----------------------------------------------------------------------

Summary of changes:
 FS/FS/cdr/{vss.pm => vvs.pm} |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 copy FS/FS/cdr/{vss.pm => vvs.pm} (93%)




More information about the freeside-commits mailing list