From e2c22776cee5add4f90652b9b529fad99939b2c9 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Mon, 3 Apr 2023 09:44:08 -0600 Subject: [PATCH] Country code note required but highly recommended --- app/destinations/destination_edit.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/destinations/destination_edit.php b/app/destinations/destination_edit.php index b8c0aa75a5..424953bd77 100644 --- a/app/destinations/destination_edit.php +++ b/app/destinations/destination_edit.php @@ -174,7 +174,7 @@ //check for all required data $msg = ''; if (strlen($destination_type) == 0) { $msg .= $text['message-required']." ".$text['label-destination_type']."
\n"; } - if (strlen($destination_prefix) == 0 && permission_exists('destination_prefix')) { $msg .= $text['message-required']." ".$text['label-destination_country_code']."
\n"; } + //if (strlen($destination_prefix) == 0 && permission_exists('destination_prefix')) { $msg .= $text['message-required']." ".$text['label-destination_country_code']."
\n"; } if (strlen($destination_number) == 0) { $msg .= $text['message-required']." ".$text['label-destination_number']."
\n"; } if (strlen($destination_context) == 0) { $msg .= $text['message-required']." ".$text['label-destination_context']."
\n"; } if (strlen($destination_enabled) == 0) { $msg .= $text['message-required']." ".$text['label-destination_enabled']."
\n"; } @@ -1324,7 +1324,7 @@ //destination number if (permission_exists('destination_prefix')) { echo "\n"; - echo "\n"; + echo "\n"; echo " ".$text['label-destination_country_code']."\n"; echo "\n"; echo "\n";