Last active
September 7, 2022 01:04
-
-
Save ronokdev/e0da8e819c5a96f4df601c1cb5824f4e to your computer and use it in GitHub Desktop.
Install Asterisk 14 on centos 7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:: Disable SELinux βΌοΈ π΄π΄π΄ | |
1. check selinux status β sestatus | |
2. RUN β vi /etc/sysconfig/selinux | |
3. SELINUX=disabled | |
4. reboot the server β reboot now | |
5. Check status again β sestatus π | |
πβ½π | |
Now Install Asterisk β | |
:: wget https://downloads.asterisk.org/pub/telephony/asterisk/asterisk-14-current.tar.gz | |
:: ls -l | |
:: tar -zxvf asterisk-14-current.tar.gz | |
:: cd asterisk-14.7.7/contrib/scripts | |
:: ./install_prereq test | |
:: ./install_prereq install | |
:: ./install_prereq install-unpackaged | |
:: yum install epel-release | |
:: yum -y install xmlstarlet | |
:: cd.. .. .. ; you should be in β /root/asterisk-14.7.7 | |
:: sudo contrib/scripts/get_mp3_source.sh | |
:: ./configure --libdir=/usr/lib64 --with-pjproject-bundled | |
:: sudo make menuselect | |
:: what to select & Check : | |
1. From Add-ons select β format_mp3 | |
2. From codec_Translators β | |
select codec_opus , | |
codec_silk , | |
codec_siren7 , | |
codec_siren14, | |
codec_g729a | |
3. From Resource Modules β | |
Check if pjsip is selected or not | |
4. save & exit | |
:: sudo make | |
:: sudo make install | |
:: sudo make samples | |
:: sudo make config | |
:: sudo ldconfig | |
:: run β systemctl restart asterisk |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Firewall should be stopped & disabled
CheckStatus firewall β systemctl status firewalld
stopping firewall β systemctl stop firewalld
Disable Firewall β systemctl disable firewalld