3CX is a software-based, open standards IP PBX that offers complete Unified Communications, out of the box. Once 3CX is installed, it needs to be configured for your network. The 3CX PBX Web Configuration Tool obtains important network and security settings and configures 3CX accordingly. To run it, enter the IP of the machine 3CX is installed on, followed by port 5015 (eg. http://10.172.1.88:5015) in a browser on another machine. 


Script:

1
#!/bin/bash
2
3
apt-get update
4
apt-get --with-new-pkgs upgrade -y
5
6
# Install 3cxpbx
7
wget -O- http://downloads-global.3cx.com/downloads/3cxpbx/public.key | apt-key add -
8
echo "deb http://downloads-global.3cx.com/downloads/debian stretch main" | tee /etc/apt/sources.list.d/3cxpbx.list
9
apt-get update
10
apt-get -y install net-tools
11
apt-get -y install 3cxpbx
12
#/usr/sbin/3CXLaunchWebConfigTool