[freeside-commits] branch FREESIDE_3_BRANCH updated. 830c02cb25147b6a7d7078b334553ea6d001af27
Jeremy Davis
jeremyd at 420.am
Tue May 26 07:56:52 PDT 2015
The branch, FREESIDE_3_BRANCH has been updated
via 830c02cb25147b6a7d7078b334553ea6d001af27 (commit)
from 658c963c50e41f2801e10984f195644cb3ab040e (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 830c02cb25147b6a7d7078b334553ea6d001af27
Author: Jeremy Davis <jeremyd at freeside.biz>
Date: Tue May 26 10:55:41 2015 -0400
VSS CDR format mis-spelled
diff --git a/FS/FS/cdr/FS/FS/cdr/vvs.pm b/FS/FS/cdr/FS/FS/cdr/vvs.pm
new file mode 100644
index 0000000..63a647e
--- /dev/null
+++ b/FS/FS/cdr/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 => FS/FS/cdr/vvs.pm} | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
copy FS/FS/cdr/{vss.pm => FS/FS/cdr/vvs.pm} (93%)
More information about the freeside-commits
mailing list