summaryrefslogtreecommitdiff
path: root/FS/FS/cdr/openser.pm
diff options
context:
space:
mode:
Diffstat (limited to 'FS/FS/cdr/openser.pm')
-rw-r--r--FS/FS/cdr/openser.pm24
1 files changed, 24 insertions, 0 deletions
diff --git a/FS/FS/cdr/openser.pm b/FS/FS/cdr/openser.pm
new file mode 100644
index 0000000..87fb822
--- /dev/null
+++ b/FS/FS/cdr/openser.pm
@@ -0,0 +1,24 @@
+package FS::cdr::openser;
+
+use strict;
+use vars qw(@ISA %info);
+use FS::cdr qw(_cdr_date_parser_maker);
+
+@ISA = qw(FS::cdr);
+
+%info = (
+ 'name' => 'OpenSER',
+ 'weight' => 15,
+ 'header' => 1,
+ 'import_fields' => [
+ _cdr_date_parser_maker('startdate'),
+ _cdr_date_parser_maker('enddate'),
+ 'src',
+ 'dst',
+ 'duration',
+ 'channel',
+ 'dstchannel',
+ ],
+);
+
+1;