From a9c08a611e18df1014feb4458c41e4f5e5dbacc3 Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Tue, 25 Nov 2025 20:31:00 +0100 Subject: [PATCH] Refactor Asterisk installation process (#9429) Refactor Asterisk installation script to fetch versions directly from Asterisk download URLs and streamline dependency installation. --- install/asterisk-install.sh | 108 ++++++++++++++++-------------------- 1 file changed, 48 insertions(+), 60 deletions(-) diff --git a/install/asterisk-install.sh b/install/asterisk-install.sh index 737b8bf9b8..66cd0cc647 100644 --- a/install/asterisk-install.sh +++ b/install/asterisk-install.sh @@ -13,64 +13,6 @@ setting_up_container network_check update_os -ASTERISK_VERSIONS_URL="https://www.asterisk.org/downloads/asterisk/all-asterisk-versions/" -html=$(curl -fsSL "$ASTERISK_VERSIONS_URL") - -LTS_VERSION="" -for major in 20 22 24 26; do - block=$(echo "$html" | awk "/Asterisk $major - LTS/,/