[freeside-commits] freeside/FS/FS/cdr lesnet.pm,NONE,1.1.2.2
Ivan,,,
ivan at wavetail.420.am
Thu May 5 11:27:35 PDT 2011
Update of /home/cvs/cvsroot/freeside/FS/FS/cdr
In directory wavetail.420.am:/tmp/cvs-serv25600
Added Files:
Tag: FREESIDE_2_1_BRANCH
lesnet.pm
Log Message:
add lesnet CDR format
--- NEW FILE: lesnet.pm ---
package FS::cdr::lesnet;
use strict;
use vars qw( @ISA %info );
@ISA = qw(FS::cdr);
%info = (
'name' => 'LesNet',
'weight' => 120,
'type' => 'csv',
'import_fields' => [
# Call Date
'calldate',
# Source_Number
'src',
# Terminating_Number
'dst',
# Duration
sub { my($cdr,$field) = @_;
$cdr->duration($field);
$cdr->billsec($field);
},
'upstream_price',
'dcontext',
'channel',
# Sip Call id
'dstchannel',
],
);
1;
More information about the freeside-commits
mailing list