[freeside-commits] branch FREESIDE_3_BRANCH updated. b26e299ec970541b5266916f6e898f856ae15eae

Jeremy Davis jeremyd at 420.am
Tue Jan 20 08:21:54 PST 2015


The branch, FREESIDE_3_BRANCH has been updated
       via  b26e299ec970541b5266916f6e898f856ae15eae (commit)
      from  02eb6935348ebe5c8f2d1e4f6145263d0b267b3f (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 b26e299ec970541b5266916f6e898f856ae15eae
Author: Jeremy Davis <jeremyd at freeside.biz>
Date:   Tue Jan 20 11:21:46 2015 -0500

    Ticket #29048 Strip leading # from destinations

diff --git a/FS/FS/cdr/cx3.pm b/FS/FS/cdr/cx3.pm
index 7f1222e..07d8967 100644
--- 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
 
   ],
 );

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

Summary of changes:
 FS/FS/cdr/cx3.pm |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)




More information about the freeside-commits mailing list