X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fcdr%2Fenswitch.pm;h=1ef884c3f76764d3c305ba215a46d9af7e86d2f8;hb=fe1596e131a981a57391eb60bb175bb6f95374e4;hp=26d27821ea083e4b0a315295e47f26dd62d325ee;hpb=b108f3292bd12e60f086c8f71129e69a0838d816;p=freeside.git diff --git a/FS/FS/cdr/enswitch.pm b/FS/FS/cdr/enswitch.pm index 26d27821e..1ef884c3f 100644 --- a/FS/FS/cdr/enswitch.pm +++ b/FS/FS/cdr/enswitch.pm @@ -12,16 +12,16 @@ use FS::cdr_type; 'header' => 2, 'type' => 'csv', 'import_fields' => [ - 'disposition', #Status + 'dcontext', #Status 'startdate', #Start, already a unix timestamp skip(2), #Start date, Start time 'enddate', #End skip(4), #End date, End time #Calling customer, Calling type 'src', #Calling number - 'dcontext', #Called type + skip(1), #Called type 'dst', #Called number - skip(26), #Destination customer, Destination type + skip(14), #Destination customer, Destination type #Destination number #Destination group ID, Destination group name, #Inbound calling type, @@ -29,7 +29,8 @@ use FS::cdr_type; #Inbound called type, #Inbound called number, #Inbound destination type, Inbound destination number, - #Outbound calling type, Outbound calling number, + 'disposition', #Outbound calling type, + skip(11), #Outbound calling number, #Outbound called type, Outbound called number, #Outbound destination type, Outbound destination number, #Internal calling type, Internal calling number,