[dialplan] NANP match + only if followed by a 1 (#6436)

This commit is contained in:
agree 2022-07-12 19:32:49 -04:00 committed by GitHub
parent e2640b8752
commit f89ecf5b36
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -235,7 +235,7 @@
$label = $text['label-11d'];
$abbrv = "11d";
break;
case "^\+?1?([2-9]\d{2}[2-9]\d{2}\d{4})$":
case "^(?:\+1|1)?([2-9]\d{2}[2-9]\d{2}\d{4})$":
$label = $text['label-north_america'];
$abbrv = "10-11-NANP";
break;