[freeside-commits] freeside/FS/FS/cdr freeside_description_default.pm, 1.4, 1.5
Erik Levinson
levinse at wavetail.420.am
Mon Jun 20 13:24:18 PDT 2011
Update of /home/cvs/cvsroot/freeside/FS/FS/cdr
In directory wavetail.420.am:/tmp/cvs-serv1919/FS/FS/cdr
Modified Files:
freeside_description_default.pm
Log Message:
cdr/freeside_description_default.pm: parse destination correctly, RT13141
Index: freeside_description_default.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/cdr/freeside_description_default.pm,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -w -d -r1.4 -r1.5
--- freeside_description_default.pm 8 Jun 2011 16:31:24 -0000 1.4
+++ freeside_description_default.pm 20 Jun 2011 20:24:16 -0000 1.5
@@ -37,9 +37,9 @@
# Number
sub {
my($cdr, $number) = @_;
- $number =~ /(\d+)\s(\d+)$/
+ $number =~ /(\+|)(\d+)\s(\d+)$/
or die "unparsable number: $number"; #maybe we shouldn't die...
- $cdr->dst("$1$2");
+ $cdr->dst("$1$2$3");
},
'description', # Destination (regionname)
More information about the freeside-commits
mailing list