Call Us Today! 877.742.2583




Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Panel
borderColorlightgray
bgColor#ffdddd
borderWidth1
titleBGColor#F7F7F7
borderStyledotted
titleCompiling from source code

Building from source

Release

Fs
can be built from source if you desire but it is not recommended.

Info

In case of errors about "no usable spandsp" or libsofiasofia-sip, compile and install spandsp and libsofia sofia-sip first, then

export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig

where ls /usr/local/lib/pkgconfig should list at least

sofia-sip-ua.pc spandsp.pc

Then FreeSWITCH should compile properly.


Code Block
languagebash
yum install -y https://files.freeswitch.org/repo/yum/centos-release/freeswitch-release-repo-0-1.noarch.rpm epel-release
yum-builddep -y freeswitch
yum install -y yum-plugin-ovl centos-release-scl rpmdevtools yum-utils git
yum install -y devtoolset-4-gcc*

scl enable devtoolset-4 'bash'

cd /usr/local/src
git clone -b v1.10 https://github.com/signalwire/freeswitch.git freeswitch
cd /usr/local/src/freeswitch
./bootstrap.sh -j
./configure --enable-portable-binary \
            --prefix=/usr --localstatedir=/var --sysconfdir=/etc \
            --with-gnu-ld --with-python --with-erlang --with-openssl \
            --enable-core-odbc-support --enable-zrtp
make
make -j install
make -j cd-sounds-install
make -j cd-moh-install


Master for Testing

Status
colourYellow
titleWARNING
not suitable for production

Fs
can be built from source if you desire but it is not recommended.


Code Block
languagebash
yum install -y https://files.freeswitch.org/repo/yum/centos-dev/freeswitch-dev-repo-0-1.noarch.rpm epel-release
yum-builddep -y freeswitch
yum install -y yum-plugin-ovl centos-release-scl rpmdevtools yum-utils git
yum install -y devtoolset-4-gcc*

scl enable devtoolset-4 'bash'

cd /usr/local/src
git clone https://github.com/signalwire/freeswitch.git freeswitch
cd /usr/local/src/freeswitch
./bootstrap.sh -j
./configure --enable-portable-binary \
            --prefix=/usr --localstatedir=/var --sysconfdir=/etc \
            --with-gnu-ld --with-python --with-erlang --with-openssl \
            --enable-core-odbc-support --enable-zrtp
make -j
make -j install
make -j cd-sounds-install
make -j cd-moh-install



...