projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Ticket 33385 Changes to enswitch cdr import modules
[freeside.git]
/
FS
/
FS
/
cdr
/
enswitch.pm
diff --git
a/FS/FS/cdr/enswitch.pm
b/FS/FS/cdr/enswitch.pm
index
1ef884c
..
9d222df
100644
(file)
--- 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
#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,
skip(14), #Destination customer, Destination type
#Destination number
#Destination group ID, Destination group name,