Created
August 24, 2022 15:41
-
-
Save gigsforlinux/d79038b0bc6c76edc9b8cab14c225663 to your computer and use it in GitHub Desktop.
I'll Do Anything Goes With Asterisk & FreePBX For You
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
sudo apt update && sudo apt -y upgrade | |
sudo apt -y install git curl wget libnewt-dev libssl-dev libncurses5-dev subversion libsqlite3-dev build-essential libjansson-dev libxml2-dev uuid-dev | |
sudo apt update && sudo apt -y install subversion | |
sudo apt policy asterisk | |
cd /usr/src/ | |
sudo curl -O http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-16-current.tar.gz | |
sudo tar xvf asterisk-16-current.tar.gz | |
cd asterisk-16*/ | |
sudo contrib/scripts/get_mp3_source.sh | |
sudo contrib/scripts/install_prereq install | |
sudo ./configure | |
sudo make menuselect | |
sudo make | |
sudo make install | |
sudo vim /etc/default/asterisk | |
AST_USER="asterisk" | |
AST_GROUP="asterisk" | |
$ sudo vim /etc/asterisk/asterisk.conf | |
runuser = asterisk ; The user to run as. | |
rungroup = asterisk ; The group to run as. | |
sudo systemctl restart asterisk | |
sudo systemctl enable asterisk | |
asterisk -rvv | |
core show channels | |
sudo ufw allow proto tcp from any to any port 5060,5061 | |
Author
gigsforlinux
commented
Aug 24, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment