Freeswitch 1.10.7
This commit is contained in:
parent
1e3c3e914a
commit
4358b9c80d
|
|
@ -22,6 +22,43 @@ apt install -y swig3.0 unzip sox wget
|
||||||
|
|
||||||
#we are about to move out of the executing directory so we need to preserve it to return after we are done
|
#we are about to move out of the executing directory so we need to preserve it to return after we are done
|
||||||
CWD=$(pwd)
|
CWD=$(pwd)
|
||||||
|
|
||||||
|
if [ $(echo "$switch_version" | tr -d '.') -gt 1103 ]
|
||||||
|
then
|
||||||
|
# libks build-requirements
|
||||||
|
#apt install -y cmake uuid-dev
|
||||||
|
|
||||||
|
# libks
|
||||||
|
#cd /usr/src
|
||||||
|
#git clone https://github.com/signalwire/libks.git libks
|
||||||
|
#cd libks
|
||||||
|
#cmake .
|
||||||
|
#make
|
||||||
|
#make install
|
||||||
|
|
||||||
|
# libks C includes
|
||||||
|
#export C_INCLUDE_PATH=/usr/include/libks
|
||||||
|
|
||||||
|
# sofia-sip
|
||||||
|
cd /usr/src
|
||||||
|
git clone https://github.com/freeswitch/sofia-sip.git sofia-sip
|
||||||
|
cd sofia-sip
|
||||||
|
sh autogen.sh
|
||||||
|
./configure
|
||||||
|
make
|
||||||
|
make install
|
||||||
|
|
||||||
|
# spandsp
|
||||||
|
cd /usr/src
|
||||||
|
git clone https://github.com/freeswitch/spandsp.git spandsp
|
||||||
|
cd spandsp
|
||||||
|
sh autogen.sh
|
||||||
|
./configure
|
||||||
|
make
|
||||||
|
make install
|
||||||
|
ldconfig
|
||||||
|
fi
|
||||||
|
|
||||||
echo "Using version $switch_version"
|
echo "Using version $switch_version"
|
||||||
cd /usr/src
|
cd /usr/src
|
||||||
#git clone -b v1.8 https://freeswitch.org/stash/scm/fs/freeswitch.git /usr/src/freeswitch
|
#git clone -b v1.8 https://freeswitch.org/stash/scm/fs/freeswitch.git /usr/src/freeswitch
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue