[freeside-commits] freeside/httemplate/misc phonenums.cgi, 1.3.2.1, 1.3.2.2

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-serv20506

Modified Files:
      Tag: FREESIDE_2_3_BRANCH
	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.3.2.1
retrieving revision 1.3.2.2
diff -u -w -d -r1.3.2.1 -r1.3.2.2
--- phonenums.cgi	10 Aug 2011 05:22:33 -0000	1.3.2.1
+++ phonenums.cgi	10 Aug 2011 05:39:38 -0000	1.3.2.2
@@ -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