Skip to content

Instantly share code, notes, and snippets.

@c6burns
Last active April 19, 2020 23:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save c6burns/0b584cdea2e134778ee2b70c3770fbd9 to your computer and use it in GitHub Desktop.
Save c6burns/0b584cdea2e134778ee2b70c3770fbd9 to your computer and use it in GitHub Desktop.
FreeSWITCH setup script for debian stretch or buster
#!/bin/bash
# grab general build tools
sudo apt-get install git flex bison libtool autoconf make gcc g++ gdb
# install specific dependencies for freeswitch modules
sudo apt-get install libvlc-dev libsqlite3-dev libcurl4-openssl-dev libspeex-dev libspeexdsp-dev libldns-dev libedit-dev yasm lua5.1-dev libopus-dev libpq-dev libsndfile-dev
# grab the source
mkdir ~/src
cd ~/src
git clone https://github.com/c6burns/freeswitch
cd freeswitch
# use branch v1.10
git fetch --all
git checkout v1.10
# multi-core bootstrap
./bootstrap.sh -j
# enable / disable modules
sed -i 's/applications\/mod_signalwire/#applications\/mod_signalwire/' modules.conf
# slow ass autoconf
./configure
# if you are lucky enough to have my workstation, otherwise -j<# of h/w threads>
make -j32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment