Last active
April 19, 2020 23:24
-
-
Save c6burns/0b584cdea2e134778ee2b70c3770fbd9 to your computer and use it in GitHub Desktop.
FreeSWITCH setup script for debian stretch or buster
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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