[freeside-commits] branch master updated. 97184f42bde6c9c305f200778cf9073fdc323963
Jeremy Davis
jeremyd at 420.am
Mon May 12 13:05:12 PDT 2014
The branch, master has been updated
via 97184f42bde6c9c305f200778cf9073fdc323963 (commit)
from 4074e6d51d10bf10926d21cff46c88bc193bc8af (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 97184f42bde6c9c305f200778cf9073fdc323963
Author: Jeremy Davis <jeremyd at freeside.biz>
Date: Mon May 12 12:48:37 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