[freeside-commits] freeside/FS/FS/cdr indosoft.pm,NONE,1.1
Ivan,,,
ivan at wavetail.420.am
Fri Jan 2 17:53:01 PST 2009
- Previous message: [freeside-commits] freeside/bin cdr.http_and_import, NONE, 1.1 cdr.import, 1.3, 1.4 cdr.sftp_and_import, 1.2, 1.3
- Next message: [freeside-commits] freeside/FS/FS Record.pm, 1.176, 1.177 cdr.pm, 1.28, 1.29
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/cvsroot/freeside/FS/FS/cdr
In directory wavetail.420.am:/tmp/cvs-serv32674/FS/FS/cdr
Added Files:
indosoft.pm
Log Message:
indosoft CDR format, RT#4425
--- NEW FILE: indosoft.pm ---
package FS::cdr::indosoft;
use strict;
use base qw( FS::cdr );
use vars qw( %info );
use FS::cdr qw( _cdr_date_parser_maker _cdr_min_parser_maker );
%info = (
'name' => 'Indosoft Conference Bridge',
'weight' => 300,
'header' => 1,
'type' => 'csv',
#listref of what to do with each field from the CDR, in order
'import_fields' => [
#cdr_id
'uniqueid',
#connect_time
_cdr_date_parser_maker( ['startdate', 'answerdate' ] ),
#disconnect_time
_cdr_date_parser_maker('enddate'),
#account_id
'accountcode',
#conference_id
'userfield',
#client_id
'charged_party',
#pin_used
'dcontext',
#channel
'channel',
#clid
#'src',
sub { my($cdr, $clid) = @_;
$cdr->clid( $clid ); #because they called it 'clid' explicitly
$cdr->src( $clid );
},
#dnis
'dst',
#call_status
'disposition',
#conf_billing_code
'lastapp', #arbitrary
#participant_id
'lastdata', #arbitrary
#codr_id
'dstchannel', #arbitrary
#call_type
'description',
],
);
1;
- Previous message: [freeside-commits] freeside/bin cdr.http_and_import, NONE, 1.1 cdr.import, 1.3, 1.4 cdr.sftp_and_import, 1.2, 1.3
- Next message: [freeside-commits] freeside/FS/FS Record.pm, 1.176, 1.177 cdr.pm, 1.28, 1.29
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the freeside-commits
mailing list