[freeside-commits] freeside/httemplate/misc phonenums.cgi,1.4,1.5
Ivan,,,
ivan at wavetail.420.am
Tue Aug 9 22:39:40 PDT 2011
Update of /home/cvs/cvsroot/freeside/httemplate/misc
In directory wavetail.420.am:/tmp/cvs-serv20501
Modified Files:
phonenums.cgi
Log Message:
more forgiving DID selector with odd things in phone_avail.name, RT#13921
Index: phonenums.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/misc/phonenums.cgi,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -w -d -r1.4 -r1.5
--- phonenums.cgi 10 Aug 2011 05:22:31 -0000 1.4
+++ phonenums.cgi 10 Aug 2011 05:39:38 -0000 1.5
@@ -22,7 +22,8 @@
if ( $exchangestring eq 'tollfree' ) {
$opts{'tollfree'} = 1;
}
- elsif ( $exchangestring =~ /^([\w\s]+), ([A-Z][A-Z])$/ ) {
+ #elsif ( $exchangestring =~ /^([\w\s\:\,\(\)\-]+), ([A-Z][A-Z])$/ ) {
+ elsif ( $exchangestring =~ /^(.+), ([A-Z][A-Z])$/ ) {
$opts{'ratecenter'} = $1;
$opts{'state'} = $2;
}
More information about the freeside-commits
mailing list