ubuntu16.04 LTS Installation FreeSWITCH:
0. Install a bunch of dependent packages.
1, use root permissions su root,
fsfile=$ (curl-s https://files.freeswitch.org/releases/freeswitch/| sed-n ' s/.* "\ (freeswitch\-[0-9]*\.[ 0-9]*\. [0-9]*\.tar\.gz\) ". */\1/p ' | Tail-n 1) && echo downloading $FSfile && Curl https://files.freeswitch.org/freeswitch-releases/$FSfile | TAR-XZ && MV ${fsfile/.tar.gz//} FreeSWITCH
2. Enter the FreeSWITCH directory
Because you need to support MP3 format, you need to install Mod_shout
Mod_shout Required Dependency Package: Apt-get Install libvorbis0a libogg0 libogg-dev libvorbis-dev libshout3-dev Libmpg123-dev Libmp3lame-dev
A, modify modules.conf about 121 lines
Formats/mod_shout
Remove the previous #
b, modify the Modules.conf.xml 110 lines around the comments removed
<!--for Icecast/mp3 streams/files-->
<load module= "Mod_shout"/>
./configure
Make
Make install
3, if encountered the compilation Mod_shout failed because Libmpg123-dev, then from the mpg123 official website directly download the new version after the compilation installs can solve.
4, after the installation can be completed by Module_exits Mod_sofia Mod_shout to see if the key modules are installed successfully.
ubuntu16.04 LTS Installation FreeSWITCH