Sudo chmod -R u=rwx,g=rx /usr/local/freeswitch/bin/ Sudo chmod -R ug=rwX,o= /usr/local/freeswitch/ Sudo chown -R freeswitch:freeswitch /usr/local/freeswitch/ Sudo adduser -disabled-password -quiet -system -home /usr/local/freeswitch -gecos "FreeSWITCH Voice Platform" -ingroup freeswitch freeswitch Then create the new user for FreeSwitch to operate it with low privileges. Sudo ln -s /usr/local/freeswitch/bin/fs_cli /usr/bin sudo ln -s /usr/local/freeswitch/bin/freeswitch /usr/bin/ If everything okay, hit the below command to install the FreeSwitch sudo make installĪnd then compile the sound by typing sudo make all cd-sounds-install cd-moh-installĪfter that create the simlinks to use the service in more convenient way. Successful compilation will print the following result: And then restart the compilation as seen below: sudo. Note: If any error occurred during the compilation, simply comment that module or install the missing dependencies if any.
sudo apt -y install unzipĪnd now run the final command to install the package. If you’ve not installed the unzip, simply run the below command before running above command. Sudo unzip freeswitch-1.10.3.-release.zip
Now, visit the official page of FreeSwitch to obtain the latest version or download it by wget command. Sudo make install Step 3: Install FreeSwitch on Ubuntu 20.04 sudo apt install -y libcurl4-openssl-dev libexpat1-dev libgnutls28-dev libtiff5-dev libx11-dev unixodbc-dev libssl-dev python-dev zlib1g-dev libasound2-dev libogg-dev libvorbis-dev libperl-dev libgdbm-dev libdb-dev uuid-dev libsndfile1-devĪfter these, install the libks & signal wire with the help of following commands. sudo apt install -y git subversion build-essential autoconf automake libtool libncurses5 libncurses5-dev make libjpeg-dev libtool libtool-bin libsqlite3-dev libpcre3-dev libspeexdsp-dev libldns-dev libedit-dev yasm liblua5.2-dev libopus-dev cmakeĪlso install the below additional packages for better performance but they are optional. Hit the below command to get install the required dependencies for the installation of FreeSwitch on Ubuntu 20.04.
Sudo apt -y update Step 2: Install Required Dependencies Step 1: Update Your SystemĪs it is a good practice to have the latest packages installed on our system so before going to install any new package, update your system Now we are moving toward the installation procedure. Here are some salient features of FreeSwitch PBX listed below:Īnd much more you can google it. So, FreePBX also provides the same features as listed earlier along with the better communication. Here in this guide we are going to use FreePBX. It provides the features of call queues, digital reception, forward calls, voice mails and call recordings. The purpose of using PBX is that it provides free and easy calls within the organization to the users and also can be used for external calls with the help of VoIP. PBX is a private telephone system used by the organizations for the communication purposes within the organization. Before going to the installation process, let’s have a short introduction about the topic.
In this tutorial, you’ll learn that how to install FreeSwitch PBX on Ubuntu 20.04.