Freeswitch image based on CentOS 7 with unixODBC (MySQL) support
64
Building instructions (based on https://hub.docker.com/r/safarov/freeswitch):
docker run --rm -v /var/run/docker.sock:/var/run/docker.sock -ti centos:centos7
VER=v1.10.5
yum install -y epel-release mysql-connector-odbc unixODBC git wget docker
yum update -y
yum localinstall https://files.freeswitch.org/repo/yum/centos-release/freeswitch-release-repo-0-1.noarch.rpm
yum install -y freeswitch\* --exclude=freeswitch-debuginfo,freeswitch-freetdm,freeswitch-sounds-\*
git clone https://github.com/signalwire/freeswitch.git -b$VER
cd freeswitch/docker/base_image
wget https://raw.githubusercontent.com/jazzl0ver/freeswitch/master/docker/base_image/make_centos_min_archive.sh
bash make_centos_min_archive.sh
docker build -t freeswitch:$VER .
exit
docker run -d --net=host --name freeswitch -e SOUND_RATES=8000:16000 -e SOUND_TYPES=music:en-us-callie -e EPMD=FALSE -v freeswitch-sounds:/usr/
share/freeswitch/sounds -v /etc/freeswitch/:/etc/freeswitch -v /etc/odbc.ini:/etc/odbc.ini -v /etc/odbcinst.ini:/etc/odbcinst.ini -v /var/log/freeswitch:/var/log/freeswitch jazzl0ver/freeswitch:v1.10.5
For more information check https://hub.docker.com/r/safarov/freeswitch
Content type
Image
Digest
Size
57.2 MB
Last updated
over 5 years ago
docker pull jazzl0ver/freeswitch:v1.10.5