From 12373f8fc829f118dae37cf59def84b3696fa9d6 Mon Sep 17 00:00:00 2001 From: Mark Crane Date: Wed, 1 Aug 2012 23:07:10 +0000 Subject: [PATCH] Reduce the minimum digits required for inbound routes for the destination number. --- app/dialplan_inbound/dialplan_inbound_add.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/dialplan_inbound/dialplan_inbound_add.php b/app/dialplan_inbound/dialplan_inbound_add.php index a567206612..e01c5cf616 100644 --- a/app/dialplan_inbound/dialplan_inbound_add.php +++ b/app/dialplan_inbound/dialplan_inbound_add.php @@ -73,7 +73,7 @@ require_once "includes/paging.php"; } else { if (strlen($condition_field_1) == 0) { $condition_field_1 = "destination_number"; } - if (strlen($condition_expression_1) < 8) { $msg .= "The destination number must be 7 or more digits.
\n"; } + if (strlen($condition_expression_1) < 6) { $msg .= "The destination number must be 5 or more digits.
\n"; } if (is_numeric($condition_expression_1)) { //the number is numeric $condition_expression_1 = '^'.$condition_expression_1.'$';