projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
424ae31
)
more forgiving DID selector with odd things in phone_avail.name, RT#13921
author
ivan
<ivan>
Wed, 10 Aug 2011 05:39:38 +0000
(
05:39
+0000)
committer
ivan
<ivan>
Wed, 10 Aug 2011 05:39:38 +0000
(
05:39
+0000)
httemplate/misc/phonenums.cgi
patch
|
blob
|
history
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;
}
- 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;
}