mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Change the default North America outbound route regular expression to be more precise.
This commit is contained in:
@@ -207,7 +207,7 @@ else {
|
|||||||
$label = $text['label-11d'];
|
$label = $text['label-11d'];
|
||||||
$abbrv = "11d";
|
$abbrv = "11d";
|
||||||
break;
|
break;
|
||||||
case "^\+?1?(\d{10})$":
|
case "^(?:\+1|1)?([2-9]\d\d[2-9]\d{6})$":
|
||||||
$label = $text['label-north-america'];
|
$label = $text['label-north-america'];
|
||||||
$abbrv = "10-11d";
|
$abbrv = "10-11d";
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user