-
-
Save pablodz/fc1bde9884eeaa432591218913bdb6ff to your computer and use it in GitHub Desktop.
a
This file contains hidden or 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
| cd /usr/src \ | |
| && wget http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-18-current.tar.gz \ | |
| && tar zxvf asterisk-18-current.tar.gz \ | |
| && rm -rf asterisk-18-current.tar.gz \ | |
| # install asterisk | |
| && cd asterisk-18*/ \ | |
| # contrib | |
| && contrib/scripts/install_prereq install \ | |
| && yum -y install ncurses-devel \ | |
| && dnf -y --enablerepo=powertools install libedit-devel \ | |
| && ./configure --libdir=/usr/lib64 \ | |
| # build files | |
| # && make menuselect\ | |
| && make \ | |
| && make install \ | |
| && make samples \ | |
| # copy samples | |
| && mkdir /etc/asterisk/samples \ | |
| && mv /etc/asterisk/*.* /etc/asterisk/samples/ \ | |
| && make basic-pbx \ | |
| # autostart | |
| && make config \ | |
| && chkconfig --add asterisk |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment