From 82a06a689dbdffc678151a7256310867cd0b0018 Mon Sep 17 00:00:00 2001 From: Jeremy Davis Date: Mon, 27 Apr 2015 13:59:38 -0400 Subject: [PATCH] Ticket 33385 Changes to enswitch cdr import modules --- FS/FS/cdr/enswitch.pm | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/FS/FS/cdr/enswitch.pm b/FS/FS/cdr/enswitch.pm index 1ef884c3f..9d222dffc 100644 --- a/FS/FS/cdr/enswitch.pm +++ b/FS/FS/cdr/enswitch.pm @@ -20,7 +20,13 @@ 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, -- 2.11.0