Remove the string length limitation on the inbound route add tool.

This commit is contained in:
Mark Crane
2012-11-16 22:32:38 +00:00
parent 9b0448a091
commit f3f7ba2737

View File

@@ -73,7 +73,6 @@ require_once "includes/paging.php";
}
else {
if (strlen($condition_field_1) == 0) { $condition_field_1 = "destination_number"; }
if (strlen($condition_expression_1) < 6) { $msg .= "The destination number must be 5 or more digits.<br>\n"; }
if (is_numeric($condition_expression_1)) {
//the number is numeric
$condition_expression_1 = '^'.$condition_expression_1.'$';
@@ -125,7 +124,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
$sql .= "dialplan_uuid, ";
$sql .= "app_uuid, ";
$sql .= "dialplan_name, ";
$sql .= "dialplan_order , ";
$sql .= "dialplan_order, ";
$sql .= "dialplan_context, ";
$sql .= "dialplan_enabled, ";
$sql .= "dialplan_description ";