It was my intent with the introduction of dialplan -> destinations to allow non numeric destination numbers this change enables non numeric destination numbers to be used with inbound routes.

This commit is contained in:
Mark Crane
2013-05-06 20:30:51 +00:00
parent 72ba17d430
commit 569acf0205
2 changed files with 71 additions and 42 deletions
@@ -17,7 +17,7 @@
The Initial Developer of the Original Code is
Mark J Crane <markjcrane@fusionpbx.com>
Portions created by the Initial Developer are Copyright (C) 2008-2012
Portions created by the Initial Developer are Copyright (C) 2008-2013
the Initial Developer. All Rights Reserved.
Contributor(s):
@@ -102,9 +102,6 @@ foreach($text as $key => $value) {
$condition_expression_1 = str_replace("+", "\+", $condition_expression_1);
$condition_expression_1 = '^'.$condition_expression_1.'$';
}
else {
$msg .= "".$text['label-destination-must-be-num']."<br>\n";
}
}
$dialplan_enabled = check_str($_POST["dialplan_enabled"]);
$dialplan_description = check_str($_POST["dialplan_description"]);