projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
more forgiving DID selector with odd things in phone_avail.name, RT#13921
[freeside.git]
/
httemplate
/
misc
/
phonenums.cgi
diff --git
a/httemplate/misc/phonenums.cgi
b/httemplate/misc/phonenums.cgi
index
784a190
..
fd5de2a
100644
(file)
--- a/
httemplate/misc/phonenums.cgi
+++ b/
httemplate/misc/phonenums.cgi
@@
-22,7
+22,8
@@
if ( $exchangestring ) {
if ( $exchangestring eq 'tollfree' ) {
$opts{'tollfree'} = 1;
}
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;
}
$opts{'ratecenter'} = $1;
$opts{'state'} = $2;
}