diff options
-rw-r--r-- | httemplate/misc/phonenums.cgi | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/httemplate/misc/phonenums.cgi b/httemplate/misc/phonenums.cgi index 784a19016..fd5de2ae6 100644 --- 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; } |