# freeswitch **Repository Path**: lxcwlong/freeswitch ## Basic Information - **Project Name**: freeswitch - **Description**: 基于freeswitch开发所需要的依赖以及开发代码 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2024-06-13 - **Last Updated**: 2025-03-16 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # freeswitch #### 介绍 基于freeswitch开发所需要的依赖以及开发代码 #### 软件架构 软件架构说明 #### 安装教程 1. 依赖库 ~~~ bash apt install -y gcc g++ autoconf automake make cmake yasm uuid-dev libvpx-dev unixodbc-dev ncurses-dev zlib1g-dev libjpeg-dev libtiff-dev liblua5.1-0-dev libsqlite3-dev libsndfile-dev libavformat-dev libswscale-dev libcurl4-openssl-dev libpcre3-dev libspeex-dev libspeexdsp-dev libedit-dev libtool libldns-dev libopus-dev libpq-dev ~~~ ​ 2. 安装 [libks](https://gitee.com/lxcwlong/freeswitch/blob/master/freeswitch-1.10.10/libks.tar.gz) ~~~bash cd freeswitch-1.10.10 tar zxvf libks.tar.gz cd libks cmake . make && make install cd .. ~~~ 验证 ~~~bash ldconfig && ldconfig -p | grep libks ~~~ ​ 3. 安装 [signalwire-c](https://gitee.com/lxcwlong/freeswitch/raw/master/freeswitch-1.10.10/signalwire-c.tar.gz) ```bash tar zxvf signalwire-c.tar.gz cd signalwire-c cmake . make && make install cd .. ldconfig ``` 验证 ```bash ldconfig -p | grep signalwire ``` ​ 4. 安装 [sofia-sip](https://gitee.com/lxcwlong/freeswitch/blob/master/freeswitch-1.10.10/sofia-sip.tar.gz) ~~~bash tar zxvf sofia-sip.tar.gz cd sofia-sip ./bootstrap.sh ./configure make && make install cd .. ldconfig ~~~ 验证 ~~~bash ldconfig -p | grep sofia ~~~ ​ 5. 安装 [spandsp](https://gitee.com/lxcwlong/freeswitch/blob/master/freeswitch-1.10.10/spandsp-20230705.tar.gz) ~~~bash tar zxvf spandsp-20230705.tar.gz cd spandsp ./bootstrap.sh -j ./configure make && make install cd .. ldconfig ~~~ 验证 ~~~bash ldconfig -p | grep spandsp ~~~ ​ 6. 安装[Freeswitch本体](https://gitee.com/lxcwlong/freeswitch/raw/master/freeswitch-1.10.10/freeswitch-1.10.10.tar.gz) ~~~bash tar -zvxf freeswitch-1.10.10.tar.gz cd freeswitch/ ./rebootstrap.sh ./configure make && make install cd /usr/local/freeswitch ~~~ #### 使用说明 1. 创建软连接 ~~~bash ln -s /usr/local/freeswitch/conf /etc/freeswitch ln -s /usr/local/freeswitch/bin/fs_cli /usr/bin/fs_cli ln -s /usr/local/freeswitch/bin/freeswitch /usr/sbin/freeswitch​ ~~~ 2. 启动freeswitch ~~~bash freeswitch ~~~ 3. 停止 ~~~bash freeswitch -stop ~~~ 4. 重启 ~~~bash freeswitch -restart ~~~ 5. 进入后台 ~~~bash fs_cli ~~~ #### 特技 1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md 2. Gitee 官方博客 [blog.gitee.com](https://blog.gitee.com) 3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解 Gitee 上的优秀开源项目 4. [GVP](https://gitee.com/gvp) 全称是 Gitee 最有价值开源项目,是综合评定出的优秀开源项目 5. Gitee 官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help) 6. Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)