diff options
author | Jeremy Davis <jeremyd@freeside.biz> | 2015-04-27 13:58:07 -0400 |
---|---|---|
committer | Jeremy Davis <jeremyd@freeside.biz> | 2015-04-27 13:58:07 -0400 |
commit | c73b745e19b025724544970591507113b1c137a8 (patch) | |
tree | 84b6dacb26303ec3132dd0a2cd13413d156ea276 /FS/FS/cdr | |
parent | ad3bcb39580173f0ac1b6357cb49515d48af7ddf (diff) |
Ticket 33385 Changes to enswitch cdr import modules
Diffstat (limited to 'FS/FS/cdr')
-rw-r--r-- | FS/FS/cdr/enswitch.pm | 8 |
1 files changed, 7 insertions, 1 deletions
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, |