[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

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;