[freeside-commits] branch FREESIDE_3_BRANCH updated. 56845a27f564298d148f968fc074e2dea7afd8c7
Jeremy Davis
jeremyd at 420.am
Mon May 12 13:07:09 PDT 2014
The branch, FREESIDE_3_BRANCH has been updated
via 56845a27f564298d148f968fc074e2dea7afd8c7 (commit)
from 62fe1b9b7c94cf1d05260c2a2161a1b0442b655b (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 56845a27f564298d148f968fc074e2dea7afd8c7
Author: Jeremy Davis <jeremyd at freeside.biz>
Date: Mon May 12 12:51:14 2014 -0400
28977 VSS CDR format
diff --git a/FS/FS/cdr/vss.pm b/FS/FS/cdr/vss.pm
new file mode 100644
index 0000000..b07be2b
--- /dev/null
+++ b/FS/FS/cdr/vss.pm
@@ -0,0 +1,35 @@
+package FS::cdr::vss;
+
+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' => 'VSS',
+ 'weight' => 120,
+ 'header' => 1,
+ 'import_fields' => [
+
+ skip(1), # Customer
+ skip(1), # i_customer
+ 'accountcode', # account_id
+ 'src', # caller
+ 'dst', # called
+ skip(1), # reason
+# _cdr_date_parser_maker('startdate'), # time
+ 'calldate',
+ '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 | 35 +++++++++++++++++++++++++++++++++++
1 files changed, 35 insertions(+), 0 deletions(-)
create mode 100644 FS/FS/cdr/vss.pm
More information about the freeside-commits
mailing list