Elastix is an unified communications server software that brings together IP PBX, email, IM, faxing and collaboration functionality. It has a Web interface and includes capabilities such as a call center software with predictive dialing. The Elastix 2.5 functionality is based on open source projects including Asterisk, FreePBX, HylaFAX, Openfire and Postfix. Those packages offer the PBX, fax, instant messaging and email functions, respectively. As of Elastix 5.0 all functionality is provided through 3CX, a software based private branch exchange (PBX) based on the SIP (Session Initiation Protocol) standard. It enables extensions to make calls via the public switched telephone network (PSTN) or via Voice over Internet Protocol (VoIP) services. Elastix 5.0 is an IP business phone system that supports standard SIP soft/hard phones, VoIP services and traditional PSTN phone lines. Elastix 2.5 is free software, released under the GNU General Public License. Elastix 5.0 is Proprietary released under the terms of the 3CX license. Centos7 must be install Minimal Installation Environment & connect Internet to package Linux
A. Install Elastix 4 using repolocal1. Download or copy to disk
[root@elastix-phone-teguht ~]# cd /data/
[root@elastix-phone-teguht data]# ls
Elastix-4.0.76-Stable-x86_64-bin-05Sep2016.iso
[root@elastix-phone-teguht data]# cp Elastix-4.0.76-Stable-x86_64-bin-05Sep2016.iso elastix4.iso
[root@elastix-phone-teguht data]# ls
Elastix-4.0.76-Stable-x86_64-bin-05Sep2016.iso elastix4.iso
[root@elastix-phone-teguht data]#
or
wget https://sourceforge.net/projects/vaak/files/Elastix/4/Elastix-4.0.76-Stable-x86_64-bin-05Sep2016.iso/download
wget https://nchc.dl.sourceforge.net/project/vaak/Elastix/4/Elastix-4.0.76-Stable-x86_64-bin-05Sep2016.iso
2. Mounting
root@elastix-phone-teguht data]# mkdir /mnt/elastix4
[root@elastix-phone-teguht data]# mount -o loop /data/elastix4.iso /mnt/elastix4/
mount: /dev/loop0 is write-protected, mounting read-only
[root@elastix-phone-teguht data]# df -kh
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/centos-root 35G 5.9G 30G 17% /
devtmpfs 2.3G 0 2.3G 0% /dev
tmpfs 2.3G 0 2.3G 0% /dev/shm
tmpfs 2.3G 9.6M 2.3G 1% /run
tmpfs 2.3G 0 2.3G 0% /sys/fs/cgroup
/dev/sda1 1014M 179M 836M 18% /boot
tmpfs 467M 8.0K 467M 1% /run/user/991
tmpfs 467M 0 467M 0% /run/user/0
/dev/loop0 1.3G 1.3G 0 100% /mnt/elastix4
[root@elastix-phone-teguht data]#
3. Create repolocal
[root@elastix-phone-teguht data]# cat /etc/yum.repos.d/Elastix.repo
[Elastix-cd]
name=Elastix-cd
baseurl=file:///mnt/elastix4
gpgcheck=0
enabled=1
[root@elastix-phone-teguht data]#
4. Disable SElinux
[root@elastix-repo data]# cat /etc/selinux/config
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - No SELinux policy is loaded.
SELINUX=disabled
# SELINUXTYPE= can take one of three two values:
# targeted - Targeted processes are protected,
# minimum - Modification of targeted policy. Only selected processes are protected.
# mls - Multi Level Security protection.
SELINUXTYPE=targeted
[root@elastix-repo data]#
5. Install elastix
yum -y install epel-release
yum -y install htop glances screen fail2ban wget sysstat net-tools
yum -y install net-snmp net-snmp-libs net-snmp-utils net-snmp-perl net-snmp-python
yum -y install elastix
[root@elastix-repo-test data]# cd /mnt/Elastix/
[root@elastix-repo-test Elastix]#
[root@elastix-repo-test Elastix]# pwd
/mnt/elastix4/Elastix
[root@elastix-repo-test Elastix]# yum -y install epel-release
[root@elastix-repo-test Elastix]# yum -y install htop glances screen fail2ban wget sysstat net-tools
[root@elastix-repo-test Elastix]# yum -y install net-snmp net-snmp-libs net-snmp-utils net-snmp-perl net-snmp-python
[root@elastix-repo-test Elastix]# yum -y install elastix
6. configuration after installation
systemctl enable mariadb.service
systemctl enable httpd
echo " Enable snmpd"
systemctl enable snmpd
systemctl restart snmpd
echo "if Firewall enable"
systemctl enable firewalld
systemctl start firewalld
firewall-cmd --zone=public --add-port=443/tcp --permanent
firewall-cmd --reload
echo "if Firewall disable"
systemctl disable firewalld
systemctl stop firewalld
systemctl start mariadb
systemctl enable elastix-firstboot
/etc/init.d/elastix-firstboot start && reboot
7. Configure mariadb & user web admin
MySQL user: root , password: root
WebAdmin user: admin , password
8. Waiting 30-60 minute
9 Login to Elastix web
http://22.22.22.22
user: admin
password: admin
10. if you want to activate Elastix Call Center
[root@elastix-test yum.repos.d]# cat /etc/yum.repos.d/elastix.repo
[elastix-base]
name=Base RPM Repository for Elastix
mirrorlist=http://mirror.elastix.org/?release=4&arch=$basearch&repo=base
#baseurl=http://repo.elastix.org/elastix/4/base/$basearch/
gpgcheck=1
enabled=1
gpgkey=http://repo.elastix.org/elastix/RPM-GPG-KEY-Elastix
[elastix-updates]
name=Updates RPM Repository for Elastix
mirrorlist=http://mirror.elastix.org/?release=4&arch=$basearch&repo=updates
#baseurl=http://repo.elastix.org/elastix/4/updates/$basearch/
gpgcheck=1
enabled=1
gpgkey=http://repo.elastix.org/elastix/RPM-GPG-KEY-Elastix
[elastix-beta]
name=Beta RPM Repository for Elastix
mirrorlist=http://mirror.elastix.org/?release=4&arch=$basearch&repo=beta
#baseurl=http://repo.elastix.org/elastix/4/beta/$basearch/
gpgcheck=1
enabled=0
gpgkey=http://repo.elastix.org/elastix/RPM-GPG-KEY-Elastix
[elastix-extras]
name=Extras RPM Repository for Elastix
mirrorlist=http://mirror.elastix.org/?release=4&arch=$basearch&repo=extras
#baseurl=http://repo.elastix.org/elastix/4/extras/$basearch/
gpgcheck=1
enabled=1
gpgkey=http://repo.elastix.org/elastix/RPM-GPG-KEY-Elastix
[root@elastix-test yum.repos.d]#
# yum -y install elastix-callcenter
11. Start Elastix Call Center Service & Check New Dashboard
12. if you want config snmp detail go to http://teguhth.blogspot.co.id/2015/12/simple-configuration-enable-snmp-on.html
B. Script to install elastix 4 using script/repo
1. Download or copy to disk example to /root
[root@elastix-repo-teguh ~]# cd /root/
[root@elastix-repo-teguh ~]# pwd
/root
[root@elastix-repo-teguh ~]# ls
anaconda-ks.cfg CentOS-7-x86_64-DVD-1708.iso Elastix-4.0.76-Stable-x86_64-bin-05Sep2016.iso elastix4-teguh_triharto.sh
[root@elastix-repo-teguh ~]#
[root@elastix-repo-teguh ~]# ./elastix4-teguh_triharto.sh
detail visit http://teguhth.blogspot.co.id/2018/02/how-to-install-elastix-4-elastix-call.html
setenforce: SELinux is disabled
2. Create script example to /root & run script elastix4-teguh_triharto.sh
[root@elastix-repo-teguh ~]# more ./elastix4-teguh_triharto.sh
#!/bin/sh
# script to install elastix 4 using repolocal
# http://teguhth.blogspot.co.id/2018/02/how-to-install-elastix-4-elastix-call.html
echo " detail visit http://teguhth.blogspot.co.id/2018/02/how-to-install-elastix-4-elastix-call.html "
#Shut off SElinux & Disable firewall if running.
setenforce 0
sed -i 's/\(^SELINUX=\).*/\SELINUX=disabled/' /etc/selinux/config
#Download Elastix and get it ready to install
yum -y install wget
if [[ $(which wget) = "" ]]; then
yum install -y wget
fi
if [ -e Elastix-4.0.76-Stable-x86_64-bin-05Sep2016.iso ]; then
echo "ISO is already avalible. Skipping download"
else
wget https://nchc.dl.sourceforge.net/project/vaak/Elastix/4/Elastix-4.0.76-Stable-x86_64-bin-05Sep2016.iso
fi
# enable access
chmod 777 Elas* elas*
# create directory
cd /
mkdir data
chmod -R 777 data
cd /data
# copy software
mv /root/Elastix-4.0.76-Stable-x86_64-bin-05Sep2016.iso /data/elastix4.iso
cp /root/elastix4-teguh_triharto.sh /data/elastix4-teguh_triharto.sh
#Add CD as local Repository so we can install
cat > /etc/yum.repos.d/Elastix.repo <<EOF
[Elastix-cd]
name=Elastix-cd
baseurl=file:///mnt/elastix4
gpgcheck=0
enabled=1
EOF
# mounting iso
mkdir /mnt/elastix4
mount -o loop /data/elastix4.iso /mnt/elastix4/
df -kh
# Install elastix Using Repolocal by Teguh
yum -y install epel-release
yum -y install htop glances screen fail2ban wget sysstat net-tools
yum -y install net-snmp net-snmp-libs net-snmp-utils net-snmp-perl net-snmp-python
yum -y install elastix
# enable snmpd all
cat > /etc/snmpd/snmpd.conf <<EOF
# Setting Community
com2sec notConfigUser default teguht
# Enable access OID/MIB
view systemview included .1
# Enable Syslocation
syslocation Teguh Triharto Tower
# Enable Syscontact
syscontact teguh.triharto@microsoft.com
EOF
# configuration after installation
systemctl enable mariadb.service
systemctl enable httpd
echo " Enable snmpd"
systemctl enable snmpd
systemctl restart snmpd
echo "if Firewall enable"
systemctl enable firewalld
systemctl start firewalld
firewall-cmd --zone=public --add-port=443/tcp --permanent
firewall-cmd --reload
echo "if Firewall disable"
systemctl disable firewalld
systemctl stop firewalld
systemctl start mariadb
systemctl enable elastix-firstboot
/etc/init.d/elastix-firstboot start && reboot
# after reboot, Configure mariadb MySQL user: root , password: root , & user web admin WebAdmin user: admin , password as example
# Waiting 30-60 minute
# Login to Elastix web example] https://10.10.10.10 or http://10.10.10.10 user: admin password: admin
# if you wan to activate callcenter, install
yum -y install elastix-callcenter
# Start Elastix Call Center Service
# Check New Dashboard
echo "Finish"
[root@elastix-repo-teguh ~]#
[root@elastix-repo-teguh ~]# ./elastix4-teguh_triharto.sh
detail visit http://teguhth.blogspot.co.id/2018/02/how-to-install-elastix-4-elastix-call.html
setenforce: SELinux is disabled
3. go to step 7. Configure mariadb & user web admin until finish







great article, I want to thanks for your time for this wonderful Article!! I definitely enjoying every little bit of it and I have you bookmarked to check out new stuff you blog post. call center telephone systems
ReplyDelete