From fedd61a3f2af22260b812a766ea6f724657059a6 Mon Sep 17 00:00:00 2001 From: boffart <> Date: Tue, 5 Nov 2024 09:11:05 +0300 Subject: [PATCH] =?UTF-8?q?#834=20=D0=9F=D0=BE=D0=BF=D1=80=D0=B0=D0=B2?= =?UTF-8?q?=D0=B8=D0=BB=20=D0=BE=D1=88=D0=B8=D0=B1=D0=BA=D1=83,=20AJAM=20H?= =?UTF-8?q?TTPS=20=D0=B2=D1=81=D0=B5=D0=B3=D0=B4=D0=B0=20=D0=B1=D1=8B?= =?UTF-8?q?=D0=BB=20=D0=B2=D0=BA=D0=BB=D1=8E=D1=87=D0=B5=D0=BD,=20=D0=B2?= =?UTF-8?q?=20=D0=BD=D0=B5=20=D0=B7=D0=B0=D0=B2=D0=B8=D1=81=D0=B8=D0=BC?= =?UTF-8?q?=D0=BE=D1=81=D1=82=D0=B8=20=D0=BE=D1=82=20=D0=B7=D0=BD=D0=B0?= =?UTF-8?q?=D1=87=D0=B5=D0=BD=D0=B8=D1=8F=20AJAM=5FENABLED?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Core/Asterisk/Configs/HttpConf.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Core/Asterisk/Configs/HttpConf.php b/src/Core/Asterisk/Configs/HttpConf.php index 0ea5b71af..ea07fe8fa 100644 --- a/src/Core/Asterisk/Configs/HttpConf.php +++ b/src/Core/Asterisk/Configs/HttpConf.php @@ -64,7 +64,7 @@ protected function generateConfigProtected(): void $data = Util::generateSslCert(); $s_data = implode("\n", $data); } - $conf .= "tlsenable=yes\n" . + $conf .= "tlsenable=$enabled\n" . "tlsbindaddr=0.0.0.0:{$this->generalSettings[PbxSettings::AJAM_PORT_TLS]}\n" . "tlscertfile=$keys_dir/ajam.pem\n" . "tlsprivatekey=$keys_dir/ajam.pem\n";