zoukankan      html  css  js  c++  java
  • freeswitch1.8安装

    1.系统版本

    [root@fs freeswitch]# uname -a
    Linux fs 3.10.0-862.el7.x86_64 #1 SMP Fri Apr 20 16:44:24 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

    2.freeswitch版本

    freeswitch@fs> version
    
    FreeSWITCH Version 1.8.7+git~20190702T200609Z~6047ebddfc~64bit (git 6047ebd 2019-07-02 20:06:09Z 64bit)

    3.安装

    # 更新rpm
    yum -y update
    #fs仓库,这里选择网络
    yum install -y http://files.freeswitch.org/freeswitch-release-1-6.noarch.rpm epel-release
    #安装fs所需依赖
    yum install -y git alsa-lib-devel autoconf automake bison broadvoice-devel bzip2 curl-devel libdb4-devel e2fsprogs-devel erlang flite-devel g722_1-devel gcc-c++ gdbm-devel 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 python-devel python-devel soundtouch-devel speex-devel sqlite-devel unbound-devel unixODBC-devel wget which yasm zlib-devel libshout-devel libmpg123-devel lame-devel rpm-build libX11-devel libyuv-devel
    #安装cmake
    cd /usr/local/src
    wget https://cmake.org/files/v3.14/cmake-3.14.0.tar.gz
    tar vzxf cmake-3.14.0.tar.gz
    cd cmake-3.14.0
    ./configure
    make
    make install
    
    # 安装libks
    cd /usr/local/src
    yum install libatomic
    git clone https://github.com/signalwire/libks.git
    cd libks
    cmake .
    make
    make install
    
    #安装signalwire-c
    cd /usr/local/src
    git clone https://github.com/signalwire/signalwire-c.git
    cd signalwire-c/
    cmake .
    make
    make install
    ln -sf /usr/local/lib64/pkgconfig/signalwire_client.pc /usr/lib64/pkgconfig/signalwire_client.pc
    
    #freeswitch安装
    git clone -b v1.8 https://github.com/signalwire/freeswitch.git freeswitch
    cd freeswitch
    ./bootstrap
    ./configure 
    make
    make install
    
    #语言包安装(选择)
    make sounds-install
    make moh-install
    
    # 设置软链接
    ln -sf /usr/local/freeswitch/bin/freeswitch /usr/bin/
    ln -sf /usr/local/freeswitch/bin/fs_cli /usr/bin/

    3.启动

     参考官网链接:

    https://freeswitch.org/confluence/display/FREESWITCH/CentOS+7+and+RHEL+7
  • 相关阅读:
    框架基础
    Servlet
    JSP数据交互二
    动态网页开发基础
    数据交互
    期末Java Web大作业----简易的学生管理系统
    南阳71----独木舟上的旅行
    南阳1092----数字分隔(二)
    顺序表、链表、栈和队列
    各类排序模版(计数排序、基数排序、桶排序、冒泡排序、选择排序、插入排序、希尔排序、归并排序、原地归并排序、快速排序、堆排序)
  • 原文地址:https://www.cnblogs.com/setout/p/14080758.html
Copyright © 2011-2022 走看看