[freeside-commits] branch FREESIDE_3_BRANCH updated. 82a06a689dbdffc678151a7256310867cd0b0018

Jeremy Davis jeremyd at 420.am
Mon Apr 27 13:23:23 PDT 2015


The branch, FREESIDE_3_BRANCH has been updated
       via  82a06a689dbdffc678151a7256310867cd0b0018 (commit)
      from  e2f23d0d3110ccff9dadf523d150a0d747130b43 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 82a06a689dbdffc678151a7256310867cd0b0018
Author: Jeremy Davis <jeremyd at freeside.biz>
Date:   Mon Apr 27 13:59:38 2015 -0400

    Ticket 33385 Changes to enswitch cdr import modules

diff --git a/FS/FS/cdr/enswitch.pm b/FS/FS/cdr/enswitch.pm
index 1ef884c..9d222df 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,

-----------------------------------------------------------------------

Summary of changes:
 FS/FS/cdr/enswitch.pm |    8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)




More information about the freeside-commits mailing list