[freeside-commits] freeside/FS/FS/cdr telos_xml.pm,NONE,1.1
Mark Wells
mark at wavetail.420.am
Wed Nov 24 17:06:32 PST 2010
Update of /home/cvs/cvsroot/freeside/FS/FS/cdr
In directory wavetail.420.am:/tmp/cvs-serv21227/FS/FS/cdr
Added Files:
telos_xml.pm
Log Message:
Telos XML CDR format, RT#10721
--- NEW FILE: telos_xml.pm ---
package FS::cdr::telos_xml;
use strict;
use vars qw( @ISA %info );
use FS::cdr qw(_cdr_date_parser_maker);
@ISA = qw(FS::cdr);
%info = (
'name' => 'Telos (XML)',
'weight' => 530,
'type' => 'xml',
'xml_format' => {
'xmlrow' => [ 'Telos_CDRS', 'CDRecord' ],
'xmlkeys' => [ qw(
seq_num
a_party_num
b_party_num
seize
answer
disc
) ],
},
'import_fields' => [
'uniqueid',
'src',
'dst', # usually empty for some reason
_cdr_date_parser_maker('startdate'),
_cdr_date_parser_maker('answerdate'),
_cdr_date_parser_maker('enddate'),
],
);
1;
More information about the freeside-commits
mailing list