We are going to setup a free phone server !
We can use a simple computer (PC) to setup the server, dual core processor and 2 GB RAM is ok to build the phone server. Hard disk space should be at least 50 GB.
The more higher configuration of your PC will get you the more performance.
We will setup Elastix 4.0.76 version of IP PBX server as open source and free IP PBX.
Elastix, the most popular choice at VOIP telephony server as well as free IP PBX.
From the version 5, Elastix is not free anymore. A subscription key is needed to activate your server.
But, don’t worry !
Elastix old version (up to version 4) was completely free for unlimited extensions/phones. So, I’m going to setup an old version in this tutorial.
Old version of Elastix setup in these days is really tough. Because you can not download Elastix old version software from the official Elastix site (www.elastix.org) and also you might get the system update problem. But, I will guide you to install an old version with system update setup, step by step in this tutorial.
1) Get started
Download an Elastix old version from Cnet, or, Google Drive, or, Click here to get the ISO image to burn on CD/DVD, and burn it to a DVD disk
2) Insert the Elastix image DVD disk to your cd/dvd drive
3) Start the Server/PC to begin installation
Regarding disk partition, the first priority most space needed on /var and the second priority space needed on /usr. Most uses folder is /var, and also the recording files directory is in /var.
The Dashboard statistics will show you the "/" directory, so if possible keep most space on "/". And the "/" directory space also mean the /var directory.
Disk uses show command is du -s /var and the result will be in kilobyte.
You can also change the Elastix web panel access port from 443 to 56789 (if needed).
After completing the installation, first thing is to adjust repositories.
Use an old version Firefox to access Elastix. As the Elastix version is very old so we must use an old version browser to access it.
You can download an old version of Firefox browser from SourceForge, or, Google Drive , or, Click here to download a portable version.
Access https://192.168.XX.XX
If any security prompt, allow security exception and access the Elastix web portal.
4) Login to Elastix Web Panel > System > Updates > Repositories
Disable all repositories except the "CentOS-7 - Base" "CentOS-7 - Updates" "CentOS-7 - Extras" and "Extra Packages for Enterprise Linux 7 - x86_64" only.
Save the settings.
5) Update Repositories
As the Elastix 4.0.76 version is based on Linux CentOS 7 version, the CentOS 7 is officially unsupported from June 30, 2024.
Login to your Elastix base (CentOS Linux System) as root by using PuTTy. If you are unfamiliar about basic Linux command please click here to learn the startup command of Linux and PuTTy uses.
Cancel elastix-update first.
service elastix-portknock stop
chkconfig elastix-portknock off
service elastix-updaterd stop
chkconfig elastix-updaterd off
Show the repository list;
cd /etc/yum.repos.d/
ls
We will keep only "CentOS-Base.repo" and "CentOS-Vault.repo" and "epel.repo" repos, and delete all other repos.
rm /etc/yum.repos.d/CentOS-Debuginfo.repo
Press y
and Enter
rm /etc/yum.repos.d/CentOS-Sources.repo
Press y
and Enter
rm /etc/yum.repos.d/elastix.repo
Press y
and Enter
rm /etc/yum.repos.d/commercial-addons.repo
Press y
and Enter
rm /etc/yum.repos.d/epel-testing.repo
Press y
and Enter
Now, set the repo URL from https to http
sudo sed -i "s/mirrorlist=https/mirrorlist=http/" /etc/yum.repos.d/epel.repo
sudo sed -i "s/metalink=https/metalink=http/" /etc/yum.repos.d/epel.repo
yum --enablerepo=epel
yum -y clean all
yum -y update
yum -y upgrade ca-certificates
reboot
Login to root again, and Update finally:
yum -y update --skip-broken
yum -y install nano wget
6) Now, we will install Call Center extension on Elastix
cd /etc/
wget http://ftp.eubilal.com/ippbx/elastix4-callcenter.noarch.rpm
rpm -Uvh elastix4-callcenter.noarch.rpm
Optional To-Do: Rotate log file to reduce space uses by huge logs
nano /etc/logrotate.conf
ls /etc/logrotate.d
nano /etc/logrotate.d
[ / * each log conf ]
7) Restart the server
reboot
Close the PuTTy SSH client, and wait about 5 minutes to complete the reboot process.
8) PBX > PBX Configuration > Parking Lot
Change the parking lot number from 700 to 9979 and start from 9975
9) PBX > PBX Configuration > Feature Codes
Change the all 3 digit codes to 4 digit codes starting above 9000, remove the Default tick-mark and enter/change each 3 digit code.
10) Additional security
Change the admin password, and reboot the server.
* We can always restart or shutdown the Elastix from admin panel.
After restart command, wait about 5 minutes.
Congrats ! we have completed the Elastix free PBX installation done. Configure your extensions and Enjoy !
Click here to learn how to forward conditional call from Elastix.
Click here to enable video phone on Elastix.
Follow our blog to learn about Elastix features, extensions, and more.
Post a Comment
Post a Comment