From 31b98f8305e096adf75b92b7a372a83b681dbd48 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Sat, 20 May 2017 11:30:42 -0600 Subject: [PATCH] Update source-release.sh --- freebsd/resources/switch/source-release.sh | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/freebsd/resources/switch/source-release.sh b/freebsd/resources/switch/source-release.sh index 6490b18..9b65852 100755 --- a/freebsd/resources/switch/source-release.sh +++ b/freebsd/resources/switch/source-release.sh @@ -19,11 +19,15 @@ pkg install --yes wget sudo libsndfile lua52 opus libmemcached libvorbis libogg #additional dependencies #pkg install --yes libshout mpg123 lame -#get the source -git clone -b v1.6 https://freeswitch.org/stash/scm/fs/freeswitch.git /usr/src/freeswitch +#get the source from git and run boostrap +#git clone -b v1.6 https://freeswitch.org/stash/scm/fs/freeswitch.git /usr/src/freeswitch +#cd /usr/src/freeswitch && /bin/sh /usr/src/freeswitch/bootstrap.sh -j -#prepare the source -cd /usr/src/freeswitch && /bin/sh /usr/src/freeswitch/bootstrap.sh -j +#get the release from http +cd /usr/src +fetch https://files.freeswitch.org/freeswitch-releases/freeswitch-1.6.17.zip +unzip /usr/src/freeswitch-1.6.17.zip +mv /usr/src/freeswitch-1.6.17 freeswitch #enable the modules sed -i' ' -e s:'#applications/mod_avmd:applications/mod_avmd:' /usr/src/freeswitch/modules.conf