Call Us Today! 877.742.2583




Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

About

Debian 8 "Jessie" is the reference platform for FreeSWITCH™ as of version 1.6 and is STRONGLY recommended for all applications due to its stability and broad support for the system libraries needed by FreeSWITCH.

Building from source

Please use the instructions on the FreeSWITCH 1.6 Video page.

Installing from Debian packages for stable branch

apt-get update && apt-get install -y curl
curl http://files.freeswitch.org/repo/deb/debian/freeswitch_archive_g0.pub | apt-key add -

cat >/etc/apt/sources.list.d/freeswitch.list <<EOT
deb http://files.freeswitch.org/repo/deb/debian/ jessie main
EOT

# you may wany to populate /etc/freeswitch at this point.
# if /etc/freeswitch does not exist, the standard vanilla configuration is deployed
apt-get update && apt-get install -y freeswitch-all

Installing from Debian packages for master branch

WARNING not suitable for production

apt-get update && apt-get install -y curl
curl http://files.freeswitch.org/repo/deb/debian/freeswitch_archive_g0.pub | apt-key add -

cat >/etc/apt/sources.list.d/freeswitch.list <<EOT
deb http://files.freeswitch.org/repo/deb/debian-unstable/ jessie main
deb http://files.freeswitch.org/repo/deb/debian/ jessie main
EOT

# you may wany to populate /etc/freeswitch at this point.
# if /etc/freeswitch does not exist, the standard vanilla configuration is deployed
apt-get update && apt-get install -y freeswitch-all

Building Debian packages from master branch

WARNING not suitable for production

The master branch depends on video libraries which are not available as packages in Debian distribution, but are available from FreeSWITCH repository. Thus, you need to import the FreeSWITCH repository PGP key and use the supplied sources.list file.

apt-get update && apt-get install -y git curl screen

# we need some prepackaged libraries for video support from this repo
curl http://files.freeswitch.org/repo/deb/debian/freeswitch_archive_g0.pub | apt-key add -

# by default, pbuilder on Jessie does not allow to use network, but we need to download some sources from Internet
echo "USENETWORK=yes" >$HOME/.pbuilderrc

# get the latest master
mkdir -p /usr/src/freeswitch
git clone https://stash.freeswitch.org/scm/fs/freeswitch.git /usr/src/freeswitch/src

cd /usr/src/freeswitch
# here it's good to run screen with logging, so that you can detach from the shell prompt
screen -L
cd src
./debian/util.sh build-all -i -z1 -aamd64 -cjessie -T /usr/src/freeswitch/src/debian/apt_sources.list

# here you can detach by Ctrl-a Ctrl-d and see the log files in log/ folder.
# The build may last about an hour, depending on your CPU speed.
# If the build is successful, you will have a bunch of .deb files in /usr/src/freeswitch

  • No labels