Enswitch CDR format changes 30992 and 33014
authorJeremy Davis <jeremyd@freeside.biz>
Tue, 20 Jan 2015 18:07:55 +0000 (13:07 -0500)
committerJeremy Davis <jeremyd@freeside.biz>
Tue, 20 Jan 2015 18:07:55 +0000 (13:07 -0500)
FS/FS/cdr/enswitch.pm

index a19b166..70542b2 100644 (file)
@@ -22,14 +22,14 @@ use FS::cdr_type;
     'clid',         #Calling name
     skip(1),        #Called type
     'dst',          #Called number
-    skip(5),        #Destination customer, Destination type
+    skip(10),       #Destination customer, Destination type
                     #Destination number
                     #Destination group ID, Destination group name,
     \&in_calling_type,  #Inbound calling type,
     \&in_calling_num,   #Inbound calling number,
     '',                 #Inbound called type,
     \&in_called_num,    #Inbound called number,
-    skip(14),
+    skip(11),
                     #Inbound destination type, Inbound destination number,
                     #Outbound calling type, Outbound calling number,
                     #Outbound called type, Outbound called number,
@@ -41,6 +41,7 @@ use FS::cdr_type;
     skip(1),        #Ring seconds
     'billsec',      #Billable seconds
     'upstream_price', #Cost
+    skip(1),        #Cost including taxes
     'accountcode',  #Billing customer
     skip(3),        #Billing customer name, Billing type, Billing reference
   ],