Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save aburaihan-dev/10299714c6c8ecdc10085241975b113d to your computer and use it in GitHub Desktop.
Save aburaihan-dev/10299714c6c8ecdc10085241975b113d to your computer and use it in GitHub Desktop.
Install Asterisk 14 on centos 7
:: 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment