diff options
Diffstat (limited to 'FS/FS/cdr/nextone.pm')
-rw-r--r-- | FS/FS/cdr/nextone.pm | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/FS/FS/cdr/nextone.pm b/FS/FS/cdr/nextone.pm new file mode 100644 index 0000000..22e6e86 --- /dev/null +++ b/FS/FS/cdr/nextone.pm @@ -0,0 +1,26 @@ +package FS::cdr::nextone; + +use strict; +use vars qw(@ISA %info); +use FS::cdr qw(_cdr_date_parser_maker); + +@ISA = qw(FS::cdr); + +%info = ( + 'name' => 'Nextone', + 'weight' => 200, + 'header' => 1, + 'import_fields' => [ + 'userfield', #CallZoneData ???userfield + 'channel', #OrigGw + 'dstchannel', #TermGw + sub { my( $cdr, $duration ) = @_; + $cdr->duration($duration); + $cdr->billsec($duration); }, #Duration + 'dst', #CallDTMF + 'src', #Ani + 'startdate', #DateTimeInt + ], +); + +1; |