[freeside-commits] branch master updated. 94f53394be8a214aefda3e2ce3e25b3fcd87fc93

Jeremy Davis jeremyd at 420.am
Mon May 12 13:57:34 PDT 2014


The branch, master has been updated
       via  94f53394be8a214aefda3e2ce3e25b3fcd87fc93 (commit)
      from  97184f42bde6c9c305f200778cf9073fdc323963 (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 94f53394be8a214aefda3e2ce3e25b3fcd87fc93
Author: Jeremy Davis <jeremyd at freeside.biz>
Date:   Mon May 12 13:40: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