summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormark <mark>2009-08-31 22:17:11 +0000
committermark <mark>2009-08-31 22:17:11 +0000
commit811ef22565f3673e8239a443c0ccefd1b701b4e7 (patch)
tree3f478e1a5953d10cbdecef5957e2cb8f91b4c4d8
parentb86aeb14ba5f160450175b430c1132ef56ad7c08 (diff)
Add Vitelity CDR format
-rw-r--r--FS/FS/cdr/vitelity.pm25
1 files changed, 25 insertions, 0 deletions
diff --git a/FS/FS/cdr/vitelity.pm b/FS/FS/cdr/vitelity.pm
new file mode 100644
index 000000000..97ed0c375
--- /dev/null
+++ b/FS/FS/cdr/vitelity.pm
@@ -0,0 +1,25 @@
+package FS::cdr::vitelity;
+
+use strict;
+use vars qw( @ISA %info );
+use FS::cdr qw(_cdr_date_parser_maker);
+
+@ISA = qw(FS::cdr);
+
+%info = (
+ 'name' => 'Vitelity',
+ 'weight' => 100,
+ 'header' => 1,
+ 'import_fields' => [
+ # Cheers to Vitelity for their concise, readable CDR format.
+ _cdr_date_parser_maker('startdate'),
+ 'src',
+ 'dst',
+ 'duration',
+ 'clid',
+ 'disposition',
+ 'upstream_price',
+ ],
+);
+
+1;