[freeside-commits] branch master updated. ba703eae98d1c77cfabc275c22a992b62c60548d

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


The branch, master has been updated
       via  ba703eae98d1c77cfabc275c22a992b62c60548d (commit)
      from  b2c9921fb758422557bc2728832646d9de2c654d (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 ba703eae98d1c77cfabc275c22a992b62c60548d
Author: Jeremy Davis <jeremyd at freeside.biz>
Date:   Tue Jan 20 11:19:40 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