diff options
| author | ivan <ivan> | 2011-08-10 05:39:39 +0000 | 
|---|---|---|
| committer | ivan <ivan> | 2011-08-10 05:39:39 +0000 | 
| commit | a01fe98d067da452cfcbafb2051bb7f85ba4f7b5 (patch) | |
| tree | c6476fd7013f2c71f206afc9162a467311139e9e | |
| parent | 8737dc99be5a9874c40f36d1420447253ee12c31 (diff) | |
more forgiving DID selector with odd things in phone_avail.name, RT#13921
| -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;    } | 
