centos 安装 freeswitch,开启与关闭

 

---恢复内容开始---

官网说明地址 :https://freeswitch.org/confluence/display/FREESWITCH/CentOS+7+and+RHEL+7

 

1.获取源码

  git clone https://freeswitch.org/stash/scm/fs/freeswitch.git freeswitch.git

2.安装freeswitch的rpm的仓库

  yum install -y http://files.freeswitch.org/freeswitch-release-1-6.noarch.rpm epel-release

3.安装开发环境

  yum install -y alsa-lib-devel autoconf automake bison broadvoice-devel bzip2 curl-devel db-devel e2fsprogs-devel flite-devel g722_1-devel gcc-c++ gdbm-devel git gnutls-devel ilbc2-devel ldns-devel libcodec2-devel libcurl-devel libedit-devel libidn-devel libjpeg-devel libmemcached-devel libogg-devel libsilk-devel libsndfile-devel libtheora-devel libtiff-devel libtool libuuid-devel libvorbis-devel libxml2-devel lua-devel lzo-devel mongo-c-driver-devel ncurses-devel net-snmp-devel openssl-devel opus-devel pcre-devel perl perl-ExtUtils-Embed pkgconfig portaudio-devel postgresql-devel python26-devel python-devel soundtouch-devel speex-devel sqlite-devel unbound-devel unixODBC-devel wget which yasm zlib-devel

4.进入freeswitch(编译过程中,缺少什么组件就单独安装什么组件)

  编译  ./bootstrap.sh -j

     ./configure

  编译成功的结果:

   make

  成功后结果:

  make install

  成功后结果:

        

5.启动

  进入  usr/local/freeswitch/bin

  输入   ./freeswitch  开启

 

     输入 fsctl shutdown 关闭

 

 

  

posted @ 2018-08-13 14:42  凤雏小呆  阅读(5136)  评论(0编辑  收藏  举报