1 package FS::cdr::telapi_voip;
2 use base qw( FS::cdr );
6 use FS::cdr qw( _cdr_date_parser_maker );
9 'name' => 'TeleAPI VoIP (CSV file)',
14 _cdr_date_parser_maker('startdate', 'gmt'=>1 ), # date gmt
18 'disposition', # hangup code
19 'userfield', # sip account
20 'src_ip_addr', # orig ip
22 skip(1), # per minute (add "upstream_rate"?
23 'upstream_price', # call cost
26 'lastapp', # direction
30 sub skip { map {''} (1..$_[0]) }