projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
02eb693
)
Ticket #29048 Strip leading # from destinations
author
Jeremy Davis
<jeremyd@freeside.biz>
Tue, 20 Jan 2015 16:21:46 +0000
(11:21 -0500)
committer
Jeremy Davis
<jeremyd@freeside.biz>
Tue, 20 Jan 2015 16:21:46 +0000
(11:21 -0500)
FS/FS/cdr/cx3.pm
patch
|
blob
|
history
diff --git
a/FS/FS/cdr/cx3.pm
b/FS/FS/cdr/cx3.pm
index
7f1222e
..
07d8967
100644
(file)
--- a/
FS/FS/cdr/cx3.pm
+++ b/
FS/FS/cdr/cx3.pm
@@
-38,7
+38,10
@@
use Date::Parse;
'accountcode', # AccountCode
skip(6),
'src', # source
- 'dst', # destination
+ sub { my ($cdr, $dst, $param) = @_;
+ $dst =~ s/#//;
+ $cdr->set('dst', $dst);
+ }, # destination
],
);