Fix changes on
[freeside.git] / FS / FS / cdr / enswitch.pm
index 1ef884c..1cdd802 100644 (file)
@@ -20,7 +20,12 @@ use FS::cdr_type;
                     #Calling customer, Calling type
     'src',          #Calling number     
     skip(1),        #Called type
-    'dst',          #Called number
+
+    sub { my ($cdr, $dst) = @_; 
+        $dst =~ s/\*//g;
+       $cdr->set('dst', $dst);
+    },              #Called number
+
     skip(14),       #Destination customer, Destination type
                     #Destination number
                     #Destination group ID, Destination group name,