1 package FS::cdr::enswitch;
4 use vars qw( @ISA %info $tmp_mon $tmp_mday $tmp_year );
6 use FS::cdr qw(_cdr_min_parser_maker);
16 'disposition', #Status
17 'startdate', #Start, already a unix timestamp
18 skip(2), #Start date, Start time
20 skip(4), #End date, End time
21 #Calling customer, Calling type
22 'src', #Calling number
26 skip(23), #Destination customer, Destination type
28 #Destination group ID, Destination group name,
29 #Inbound calling type, Inbound calling number,
30 #Inbound called type, Inbound called number,
31 #Inbound destination type, Inbound destination number,
32 #Outbound calling type, Outbound calling number,
33 #Outbound called type, Outbound called number,
34 #Outbound destination type, Outbound destination number,
35 #Internal calling type, Internal calling number,
36 #Internal called type, Internal called number,
37 #Internal destination type, Internal destination number
38 'duration', #Total seconds
39 skip(1), #Ring seconds
40 'billsec', #Billable seconds
41 'upstream_price', #Cost
42 'accountcode', #Billing customer
43 skip(3), #Billing customer name, Billing type, Billing reference
47 sub skip { map {''} (1..$_[0]) }