[freeside-commits] branch FREESIDE_3_BRANCH updated. 130c5c10385e1717908c4678c844c3e4a39dfad9
Jeremy Davis
jeremyd at 420.am
Tue May 13 11:38:43 PDT 2014
The branch, FREESIDE_3_BRANCH has been updated
via 130c5c10385e1717908c4678c844c3e4a39dfad9 (commit)
via 43347717a28232010db936101e951bf9aaa9c62a (commit)
from 676261087769733c5e052b936f092630b3593f85 (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 130c5c10385e1717908c4678c844c3e4a39dfad9
Merge: 4334771 6762610
Author: Jeremy Davis <jeremyd at freeside.biz>
Date: Tue May 13 11:21:04 2014 -0400
Merge branch 'FREESIDE_3_BRANCH' of git.freeside.biz:/home/git/freeside into FREESIDE_3_BRANCH
commit 43347717a28232010db936101e951bf9aaa9c62a
Author: Jeremy Davis <jeremyd at freeside.biz>
Date: Mon May 12 13:44:24 2014 -0400
29050 Orcon CDR format
diff --git a/FS/FS/cdr/orcon.pm b/FS/FS/cdr/orcon.pm
new file mode 100644
index 0000000..4d15cfd
--- /dev/null
+++ b/FS/FS/cdr/orcon.pm
@@ -0,0 +1,35 @@
+package FS::cdr::orcon;
+
+use strict;
+use vars qw( @ISA %info);
+use FS::cdr;
+
+ at ISA = qw(FS::cdr);
+
+%info = (
+ 'name' => 'Orcon',
+ 'weight' => 120,
+ 'header' => 1,
+ 'import_fields' => [
+
+ skip(2), #id
+ #billing period
+ 'accountcode', #account number
+ skip(2), #username
+ #service id
+ 'calldate', #date
+ skip(1), #tariff region
+ 'src', #originating number
+ 'dst', #terminating number
+ 'duration', #duration actual
+ 'billsec', #duration billed
+ skip(1), #discount
+ 'upstream_price',#charge
+
+ ],
+);
+
+sub skip { map {''} (1..$_[0]) }
+
+1;
+
-----------------------------------------------------------------------
Summary of changes:
FS/FS/cdr/orcon.pm | 35 +++++++++++++++++++++++++++++++++++
1 files changed, 35 insertions(+), 0 deletions(-)
create mode 100644 FS/FS/cdr/orcon.pm
More information about the freeside-commits
mailing list