Changes

Jump to navigation Jump to search
466 bytes added ,  14:31, 10 June 2021
sudo apt install build-essential autoconf cmake libtool pkg-config libcurl4-openssl-dev python-pycurl python3-pycurl libtiff-dev libaudiofile-dev fftw-dev sqlite3 libsqlite3-dev libpcre3-dev speex libspeex-dev libspeexdsp-dev libldns-dev nasm libavformat-dev libswscale-dev liblua5.3-dev libpq-dev libx11-dev libfreetype-dev libssl-dev uuid uuid-dev git unzip libedit-dev libopus-dev libsndfile-dev
==== [https://github.com/fltk/fltk Fltk] ====
Required by Spandsp
sudo make install
==== [https://github.com/freeswitch/spandsp Spandsp] ====
git clone https://github.com/freeswitch/spandsp
sudo make install
==== [https://github.com/signalwire/libks.git libks] ====
<syntaxhighlight lang="Bash" line>
git clone https://github.com/signalwire/libks.git
sudo make install
</syntaxhighlight>
 
=== [https://github.com/signalwire/signalwire-c.git Signalwire] ===
make
sudo make install
</syntaxhighlight>
Compile the sounds
sudo ln -s /usr/local/freeswitch/bin/fs_cli /usr/bin
==== Configure FreeSWITCH ====
Once you've compiled and installed Freeswitch, you will need to activate mod_siren and mod_xml_curl in /usr/local/freeswitch/conf/autoload_configs/modules.conf.xml, since it's disabled by default on a fresh install. This bit needs doing as root
 
su root
nano /usr/local/freeswitch/conf/autoload_configs/modules.conf.xml
 
uncomment the lines...
 
<load module="mod_xml_curl"/>
and
 
<load module="mod_siren"/>
 
save and exit then su back to your normal user
====Create a user with limited rights to run freeswitch====
cd /usr/local
==== Create a systemd service file to start automatically==== sudo nano /etc/systemd/system/freeswitch.service added the following contents and save
[Unit]
WantedBy=multi-user.target
== Configure FreeSWITCH ==start the serviceOnce you've compiled and installed Freeswitch, you will need to activate mod_siren and mod_xml_curl in /usr/local/ sudo systemctl start freeswitch/conf/autoload_configs/modules.conf.xml, since it's disabled by default on a fresh install.service
uncomment the lines..check its working with sudo systemctl status freeswitch <load module="mod_xml_curl"/>andservice
<load module="mod_siren"/>enable the service so it starts each time at boot sudo systemctl enable freeswitch.service
== Configure Opensimulator ==

Navigation menu