We no longer support Debian 8 "Jessie" packages for .
Debian 8 "Jessie" was the reference platform for as of version 1.6.
Debian 9 "Stretch" was suitable for the 1.8 release.
Debian 10 "Buster" is now recommended for the 1.10 release.
|echo "deb http://ftp.debian.org/debian jessie-backports main" >> /etc/apt/sources.list|
2016.02.14 — Please note this important change that went into Master today. As of today, we are no longer using system versions of libyuv and libvpx due to major conflicts with system versions of these libraries. These are now built static into the freeswitch core. Also note, mod_vpx no longer exists, it is automatically loaded as part of the core and you will no longer have
Please note for anyone doing cross compiling, this probably means a bit more work for you, I'll be working on fixing that this week.
- Mike Jerris
See all FreeSWITCH commits here: https://github.com/signalwire/freeswitch/commits/master
Building From Source
Compiling Release Branch (production)
Compiling Latest Master (for testing)
not suitable for production
Before Starting FreeSWITCH
If you built from source code you should set file permissions and ownership before starting FreeSWITCH. Follow the post-installation instructions.
not suitable for production
#!/bin/sh # Simple script to setup a webrtc enabled lab with freeswitch, nginx, letsencrypt certificates and verto_communicator. # Adapt the DOMAIN & IP variables below and launch as root on on a freshly minimal installed debian 8 ( jessie ) server. # DO NOT USE IN PRODUCTION, it's for proof-of-concept purposes. # FreeSWITCH config is the default vanilla demo config, you SHOULD CHANGE the DEFAULT PASSWORDS ( extensions, event_socket, etc ... ) # At the end of the script, you can navigate to https://$DOMAIN/vc and enjoy Verto Communicator in your web browser! # Author: "Tristan Mahe" <email@example.com> # License: WTFPL DOMAIN="your.domain.here" IP="126.96.36.199" apt-get clean && apt-get update && apt-get -y upgrade && apt-get -y dist-upgrade apt-get install -y wget git wget -O - https://files.freeswitch.org/repo/deb/freeswitch-1.8/fsstretch-archive-keyring.asc | apt-key add - echo "deb http://files.freeswitch.org/repo/deb/freeswitch-1.8/ jessie main" > /etc/apt/sources.list.d/freeswitch.list echo "deb-src http://files.freeswitch.org/repo/deb/freeswitch-1.8/ jessie main" >> /etc/apt/sources.list.d/freeswitch.list apt-get update cd /usr/src git clone https:/github.com/signalwire/freeswitch.git -bv1.8 freeswitch apt-get install -y freeswitch-meta-all nginx-extras freeswitch-mod-verto freeswitch-mod-rtc apt-get install -y letsencrypt -t jessie-backports letsencrypt certonly -a webroot --webroot-path=/var/www/html -d $DOMAIN cat /etc/letsencrypt/live/$DOMAIN/fullchain.pem /etc/letsencrypt/live/$DOMAIN/privkey.pem > /etc/freeswitch/tls/wss.pem cp -f /usr/src/freeswitch/html5/verto/video_demo/dp/dp.xml /etc/freeswitch/dialplan/default/0000_dp.xml perl -i -pe 's/# listen/listen/g' /etc/nginx/sites-enabled/default perl -i -pe 's/# include snippets\/snakeoil.conf/include snippets\/letsencrypt.conf/g' /etc/nginx/sites-enabled/default perl -i -pe 's/<!-- <param name="ext-rtp-ip" value=""\/> -->/<param name="ext-rtp-ip" value="$IP"\/>/g' /etc/freeswitch/autoload_configs/verto.conf.xml echo "ssl_certificate /etc/letsencrypt/live/$DOMAIN/fullchain.pem;" >> /etc/nginx/snippets/letsencrypt.conf echo "ssl_certificate_key /etc/letsencrypt/live/$DOMAIN/privkey.pem;" >> /etc/nginx/snippets/letsencrypt.conf # Attention with this, it may break other software you want to get through Git git config --global url."https://".insteadOf git:// cd /usr/src/freeswitch/html5/verto/verto_communicator/ ./debian8-install.sh ln -s /usr/src/freeswitch/html5/verto/verto_communicator/dist /var/www/html/vc service nginx restart service freeswitch restart