From b646f4c31f1ed49e5e5881ba72a46d0f8b4b90b7 Mon Sep 17 00:00:00 2001 From: stevenA Date: Wed, 19 Jan 2022 14:59:23 +0100 Subject: [PATCH] Update install.php Set default of hotline_enabled to no --- install.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/install.php b/install.php index dc23e5b..6a82f9d 100644 --- a/install.php +++ b/install.php @@ -1218,6 +1218,8 @@ function cleanUpSccpSettings() { // Override certain chan-sccp defaults as they are based on a non-FreePbx system $settingsFromDb['context']['systemdefault'] = 'from-internal'; $settingsFromDb['directed_pickup']['systemdefault'] = 'no'; + // Override this chan-sccp default as it is a potential security risk. See Issue 29 + $settingsFromDb['hotline_enabled']['systemdefault'] = 'no'; unset($sysConfiguration[$key]); }