From fa335a11f54abf135dacd21976585103820aa95f Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Fri, 21 Nov 2025 09:40:43 +0100 Subject: [PATCH] Remove Asterisk installation scripts Deleted ct/asterisk.sh and install/asterisk-install.sh, removing support for Asterisk container and installation. Updated ct/freepbx.sh to use the correct build.func source URL. This streamlines the codebase by dropping Asterisk-related scripts. --- ct/asterisk.sh | 35 ----------- ct/freepbx.sh | 2 +- install/asterisk-install.sh | 114 ------------------------------------ 3 files changed, 1 insertion(+), 150 deletions(-) delete mode 100644 ct/asterisk.sh delete mode 100644 install/asterisk-install.sh diff --git a/ct/asterisk.sh b/ct/asterisk.sh deleted file mode 100644 index 02f2506cb..000000000 --- a/ct/asterisk.sh +++ /dev/null @@ -1,35 +0,0 @@ -#!/usr/bin/env bash -source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVED/main/misc/build.func) -# Copyright (c) 2021-2025 community-scripts ORG -# Author: michelroegl-brunner -# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE -# Source: https://asterisk.org/ - -APP="Asterisk" -var_tags="${var_tags:-telephone;pbx}" -var_cpu="${var_cpu:-2}" -var_ram="${var_ram:-2048}" -var_disk="${var_disk:-4}" -var_os="${var_os:-debian}" -var_version="${var_version:-12}" -var_unprivileged="${var_unprivileged:-1}" - -header_info "$APP" -variables -color -catch_errors - -function update_script() { - header_info - check_container_storage - check_container_resources - msg_error "No Update function provided for ${APP} LXC" - exit -} - -start -build_container -description - -msg_ok "Completed Successfully!\n" -echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" diff --git a/ct/freepbx.sh b/ct/freepbx.sh index 0552674bf..fd2395c91 100644 --- a/ct/freepbx.sh +++ b/ct/freepbx.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/vsc55/community-scripts-ProxmoxVED/refs/heads/freepbx/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVED/refs/heads/freepbx/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: Arian Nasr (arian-nasr) # Updated by: Javier Pastor (vsc55) diff --git a/install/asterisk-install.sh b/install/asterisk-install.sh deleted file mode 100644 index 202c12e10..000000000 --- a/install/asterisk-install.sh +++ /dev/null @@ -1,114 +0,0 @@ -#!/usr/bin/env bash - -# Copyright (c) 2021-2025 community-scripts ORG -# Author: michelroegl-brunner -# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE -# Source: https://asterisk.org - -source /dev/stdin <<<"$FUNCTIONS_FILE_PATH" -color -verb_ip6 -catch_errors -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/,/