File tree Expand file tree Collapse file tree 4 files changed +117
-0
lines changed
Expand file tree Collapse file tree 4 files changed +117
-0
lines changed Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+ source <( curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func)
3+ # Copyright (c) 2021-2025 community-scripts ORG
4+ # Author: Arian Nasr (arian-nasr)
5+ # License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
6+ # Source: https://www.freepbx.org/
7+
8+ APP=" FreePBX"
9+ var_tags=" pbx;voip;telephony"
10+ var_cpu=" ${var_cpu:- 2} "
11+ var_ram=" ${var_ram:- 2048} "
12+ var_disk=" ${var_disk:- 10} "
13+ var_os=" ${var_os:- debian} "
14+ var_version=" ${var_version:- 12} "
15+ var_unprivileged=" ${var_unprivileged:- 1} "
16+
17+ header_info " $APP "
18+ variables
19+ color
20+ catch_errors
21+
22+ function update_script() {
23+ header_info
24+ check_container_storage
25+ check_container_resources
26+
27+ if [[ ! -f /lib/systemd/system/freepbx.service ]]; then
28+ msg_error " No ${APP} Installation Found!"
29+ exit
30+ fi
31+ msg_error " Currently we don't provide an update function for this ${APP} ."
32+ exit
33+ }
34+
35+ start
36+ build_container
37+ description
38+
39+ msg_ok " Completed Successfully!\n"
40+ echo -e " ${CREATING}${GN}${APP} setup has been successfully initialized!${CL} "
41+ echo -e " ${INFO}${YW} Access it using the following URL:${CL} "
42+ echo -e " ${TAB}${GATEWAY}${BGN} http://${IP}${CL} "
Original file line number Diff line number Diff line change 1+ ______ ____ ____ _ __
2+ / ____/_______ ___ / __ \/ __ ) |/ /
3+ / /_ / ___/ _ \/ _ \/ /_/ / __ | /
4+ / __/ / / / __/ __/ ____/ /_/ / |
5+ /_/ /_/ \___/\___/_/ /_____/_/|_|
6+
Original file line number Diff line number Diff line change 1+ {
2+ "name" : " FreePBX" ,
3+ "slug" : " freepbx" ,
4+ "categories" : [
5+ 0
6+ ],
7+ "date_created" : " 2025-03-10" ,
8+ "type" : " ct" ,
9+ "updateable" : false ,
10+ "privileged" : false ,
11+ "interface_port" : 80 ,
12+ "documentation" : " https://sangomakb.atlassian.net/wiki/spaces/FP/overview?homepageId=8454359" ,
13+ "website" : " https://www.freepbx.org/" ,
14+ "logo" : " https://avatars.githubusercontent.com/u/696423?s=200&v=4" ,
15+ "config_path" : " " ,
16+ "description" : " FreePBX is a web-based open-source graphical user interface that manages Asterisk, a voice over IP and telephony server." ,
17+ "install_methods" : [
18+ {
19+ "type" : " default" ,
20+ "script" : " ct/freepbx.sh" ,
21+ "resources" : {
22+ "cpu" : 2 ,
23+ "ram" : 2048 ,
24+ "hdd" : 10 ,
25+ "os" : " debian" ,
26+ "version" : " 12"
27+ }
28+ }
29+ ],
30+ "default_credentials" : {
31+ "username" : null ,
32+ "password" : null
33+ },
34+ "notes" : [
35+ {
36+ "text" : " This script uses the official FreePBX install script. Check it here: https://github.com/FreePBX/sng_freepbx_debian_install" ,
37+ "type" : " info"
38+ }
39+ ]
40+ }
41+
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+
3+ # Copyright (c) 2021-2025 community-scripts ORG
4+ # Author: Arian Nasr (arian-nasr)
5+ # License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
6+ # Source: https://www.freepbx.org/
7+
8+ source /dev/stdin <<< " $FUNCTIONS_FILE_PATH"
9+ color
10+ verb_ip6
11+ catch_errors
12+ setting_up_container
13+ network_check
14+ update_os
15+
16+ msg_info " Installing FreePBX (Patience)"
17+ curl -fsSL https://github.com/FreePBX/sng_freepbx_debian_install/raw/master/sng_freepbx_debian_install.sh -o /opt/sng_freepbx_debian_install.sh
18+ $STD bash /opt/sng_freepbx_debian_install.sh
19+ msg_ok " Installed FreePBX"
20+
21+ motd_ssh
22+ customize
23+
24+ msg_info " Cleaning up"
25+ rm /opt/sng_freepbx_debian_install.sh
26+ $STD apt-get -y autoremove
27+ $STD apt-get -y autoclean
28+ msg_ok " Cleaned"
You can’t perform that action at this time.
0 commit comments