Installing Freeswitch

sudo apt update
sudo apt install -y git build-essential autoconf automake libtool pkg-config \
  libncurses5-dev libssl-dev libsqlite3-dev libedit-dev libpcre3-dev \
  libspeexdsp-dev libopus-dev libsndfile1-dev libldns-dev libexpat1-dev \
  libavcodec-dev libavformat-dev libavutil-dev libswscale-dev


sudo apt install -y unixodbc unixodbc-dev odbcinst1debian2 odbcinst
# Example MySQL ODBC driver (optional)
sudo apt install -y libmyodbc


TOKEN=YOURSIGNALWIRETOKEN


apt update && apt install -y git curl
curl -sSL https://freeswitch.org/fsget | bash -s $TOKEN


cd /usr/src
git clone https://github.com/signalwire/freeswitch -b master


curl -sSL https://freeswitch.org/fsdeb | bash -s -- -b 999 -o /usr/src/fsdebs/ -w /usr/src/freeswitch
# If the build is successful, you will have a bunch of .deb files in /usr/src/fsdebs


# But for a working PBX setup, you typically also want:

sudo apt install \
  freeswitch-mod-console \
  freeswitch-mod-logfile \
  freeswitch-mod-sofia \
  freeswitch-mod-loopback \
  freeswitch-mod-dialplan-xml \
  freeswitch-mod-dptools \
  freeswitch-mod-conference \
  freeswitch-mod-v8 \
  freeswitch-mod-spandsp

# in the same way you can install any freeswitch module
sudo apt install freeswitch-mod-<module>



sudo systemctl restart freeswitch
sudo systemctl status freeswitch
fs_cli -rRS


https://raw.githubusercontent.com/signalwire/freeswitch/refs/heads/master/scripts/packaging/fsget.sh

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!