From 82361db112429feee3299b6d9faf4281214d7379 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 14 May 2025 12:29:03 +0000 Subject: [PATCH] Deleted files for issue: asterisk --- ct/asterisk.sh | 39 --------------------- frontend/public/json/asterisk.json | 36 ------------------- install/asterisk-install.sh | 55 ------------------------------ 3 files changed, 130 deletions(-) delete mode 100644 ct/asterisk.sh delete mode 100644 frontend/public/json/asterisk.json delete mode 100644 install/asterisk-install.sh diff --git a/ct/asterisk.sh b/ct/asterisk.sh deleted file mode 100644 index 58c5727..0000000 --- a/ct/asterisk.sh +++ /dev/null @@ -1,39 +0,0 @@ -#!/usr/bin/env bash -source <(curl -s https://git.community-scripts.org/community-scripts/ProxmoxVED/raw/branch/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:-os}" -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 - if [[ ! -d /var ]]; then - msg_error "No ${APP} Installation Found!" - exit - fi - msg_info "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/frontend/public/json/asterisk.json b/frontend/public/json/asterisk.json deleted file mode 100644 index 956e405..0000000 --- a/frontend/public/json/asterisk.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "name": "Asterisk", - "slug": "asterisk", - "categories": [ - 0, - 4 - ], - "date_created": "2025-05-13", - "type": "ct", - "updateable": false, - "privileged": false, - "interface_port": null, - "documentation": "https://docs.asterisk.org/", - "config_path": "/etc/asterisk", - "website": "https://asterisk.org/", - "logo": "https://docs.asterisk.org/favicon.ico", - "description": "Asterisk is an open-source framework for building communications applications, most commonly used as a phone system (PBX). Developed by Digium (now part of Sangoma), it turns a standard computer into a powerful telephony server.", - "install_methods": [ - { - "type": "default", - "script": "ct/asterisk.sh", - "resources": { - "cpu": 2, - "ram": 2048, - "hdd": 4, - "os": "Debian", - "version": "12" - } - } - ], - "default_credentials": { - "username": null, - "password": null - }, - "notes": [] -} \ No newline at end of file diff --git a/install/asterisk-install.sh b/install/asterisk-install.sh deleted file mode 100644 index 123c0d8..0000000 --- a/install/asterisk-install.sh +++ /dev/null @@ -1,55 +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 /dev/stdin <<<"$FUNCTIONS_FILE_PATH" -color -verb_ip6 -catch_errors -setting_up_container -network_check -update_os - -msg_info "Installing Dependencies" -$STD apt-get install -y \ - libsrtp2-dev \ - build-essential \ - libedit-dev \ - uuid-dev \ - libjansson-dev \ - libxml2-dev \ - libsqlite3-dev -msg_ok "Installed Dependencies" - -msg_info "Downloading Asterisk" -RELEASE=$(curl -s https://downloads.asterisk.org/pub/telephony/asterisk/ | grep -o 'asterisk-[0-9]\+-current\.tar\.gz' | sort -V | tail -n1) -temp_file=$(mktemp) -curl -fsSL "https://downloads.asterisk.org/pub/telephony/asterisk/${RELEASE}" -o "$temp_file" -mkdir -p /opt/asterisk -tar zxf "$temp_file" --strip-components=1 -C /opt/asterisk -cd /opt/asterisk -msg_ok "Downloaded Asterisk" - -msg_info "Installing Asterisk" -$STD ./contrib/scripts/install_prereq install -$STD ./configure -$STD make -j$(nproc) -$STD make install -$STD make config -$STD make install-logrotate -$STD make samples -mkdir -p /etc/radiusclient-ng/ -ln /etc/radcli/radiusclient.conf /etc/radiusclient-ng/radiusclient.conf -$STD systemctl start asterisk -msg_ok "Installed Asterisk" - -motd_ssh -customize - -msg_info "Cleaning up" -$STD apt-get -y autoremove -$STD apt-get -y autoclean -$STD rm -f "$temp_file" -msg_ok "Cleaned"