当前位置: 首页 > news >正文

像乐视做硬件的视频网站网站seo关键词排名推广

像乐视做硬件的视频网站,网站seo关键词排名推广,河北省城乡住房和城乡建设厅网站,红酒哪个网站做的好文章目录 一、生成一个镜像二、切换一个镜像源为阿里源三、安装一些相关依赖和freeswitch3.1第一步:安装freeswitch-mod和下载所需的依赖项3.2 设置密钥3.3 安装freeswitch所需的依赖项3.4 报错3.4.1 报错13.4.2 报错23.4.3 报错3 四、运行4.1 通话三十秒自动挂断 一…

文章目录

  • 一、生成一个镜像
  • 二、切换一个镜像源为阿里源
  • 三、安装一些相关依赖和freeswitch
    • 3.1第一步:安装freeswitch-mod和下载所需的依赖项
    • 3.2 设置密钥
    • 3.3 安装freeswitch所需的依赖项
    • 3.4 报错
      • 3.4.1 报错1
      • 3.4.2 报错2
      • 3.4.3 报错3
  • 四、运行
    • 4.1 通话三十秒自动挂断

一、生成一个镜像

docker run  -dit  --name fs_v2 debian:11 /bin/sh

二、切换一个镜像源为阿里源

sed -i 's/http:\/\/deb.debian.org/http:\/\/mirrors.aliyun.com/g' /etc/apt/sources.list

三、安装一些相关依赖和freeswitch

3.1第一步:安装freeswitch-mod和下载所需的依赖项

apt update
apt-get update
apt install vim
apt-get install -yq gnupg2 wget lsb-release
apt install git
apt-get -yq install \
# buildbuild-essential cmake automake autoconf 'libtool-bin|libtool' pkg-config \
# generallibssl-dev zlib1g-dev libdb-dev unixodbc-dev libncurses5-dev libexpat1-dev libgdbm-dev bison erlang-dev libtpl-dev libtiff5-dev uuid-dev \
# corelibpcre3-dev libedit-dev libsqlite3-dev libcurl4-openssl-dev nasm \
# core codecslibogg-dev libspeex-dev libspeexdsp-dev \
# mod_enumlibldns-dev \
# mod_python3python3-dev \
# mod_avlibavformat-dev libswscale-dev libavresample-dev \
# mod_lualiblua5.2-dev lua-cjson \
# mod_opuslibopus-dev \
# mod_mariadblibmariadb3 \
# mod_pgsqllibpq-dev \
# mod_sndfilelibsndfile1-dev libflac-dev libogg-dev libvorbis-dev \
# mod_shoutlibshout3-dev libmpg123-dev libmp3lame-dev

3.2 设置密钥

获取key,获取地址:https://developer.signalwire.com/freeswitch/FreeSWITCH-Explained/Installation/HOWTO-Create-a-SignalWire-Personal-Access-Token_67240087

大家要是懒得申请,就用我的吧。

wget --http-user=signalwire --http-password=pat_KJym6TEtUK6PmADrgBV9A1zp -O /usr/share/keyrings/signalwire-freeswitch-repo.gpg https://freeswitch.signalwire.com/repo/deb/debian-release/signalwire-freeswitch-repo.gpg
echo "machine freeswitch.signalwire.com login signalwire password pat_KJym6TEtUK6PmADrgBV9A1zp" > /etc/apt/auth.conf
chmod 600 /etc/apt/auth.conf
echo "deb [signed-by=/usr/share/keyrings/signalwire-freeswitch-repo.gpg] https://freeswitch.signalwire.com/repo/deb/debian-release/ `lsb_release -sc` main" > /etc/apt/sources.list.d/freeswitch.list
echo "deb-src [signed-by=/usr/share/keyrings/signalwire-freeswitch-repo.gpg] https://freeswitch.signalwire.com/repo/deb/debian-release/ `lsb_release -sc` main" >> /etc/apt/sources.list.d/freeswitch.list

3.3 安装freeswitch所需的依赖项

apt-get update
apt-get build-dep freeswitch
cd /usr/local/src
git clone https://github.com/signalwire/freeswitch.git -b  v1.10.5 freeswitch
cd freeswitch
./bootstrap.sh -j 
./configure 

因为我们所在的分支机构将经历许多重组,一定要在Freeswitch文件夹里面执行一下的代码
最好设置这个,否则拉(更新)时会出现冲突。

git config pull.rebase true

为有些大帅哥大漂亮git访问困难户提供

链接:https://pan.baidu.com/s/1OlLdBdjZ3kSqUMEIIblDig?pwd=mt2z 
提取码:mt2z

3.4 报错

3.4.1 报错1

checking for libmariadb >= 3.0.9... checking for mariadb >= 3.0.9... no checking for spandsp >= 3.0... configure: error: no usable spandsp; please install spandsp3 devel package or equivalent

cd /usr/local/src
git clone https://github.com/freeswitch/spandsp.git 
cd spandsp 
./bootstrap.sh -j 
./configure 
make 
make install 

这里有可能编译失败,原因是spandsp 版本和freeswitch版本不匹配
错误

V18_MODE_5BIT_4545错误

 
git clone https://github.com/freeswitch/spandsp.git
cd spandsp
git checkout -b finecode20230705 0d2e6ac65e0e8f53d652665a743015a88bf048d4./bootstrap.sh -j
./configure
make
make install

更新环境

vi ~/.bashrc

vi ~/.bash_profile

在文件末尾添加以下内容:

export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:${PKG_CONFIG_PATH}

在这里插入图片描述
然后控制台执行

ldconfig

这样,当用户登录时,这些命令就会自动执行,从而使设置永久生效。

cd /usr/local/src/freeswitch
./bootstrap.sh -j 
./configure 

3.4.2 报错2

checking for sofia-sip-ua >= 1.12.12... configure: error: no usable sofia-sip; please install sofia-sip-ua devel package or equivalent

cd /usr/local/src/
git clone https://github.com/freeswitch/sofia-sip.git
cd sofia-sip
./bootstrap.sh
./configuremake
make installldconfig
cd /usr/local/src/freeswitch
./bootstrap.sh -j 
./configure 
make

3.4.3 报错3

make[4]: Entering directory '/usr/local/src/freeswitch/src/mod/applications/mod_signalwire' Makefile:967: *** You must install libks to build mod_signalwire. Stop. make[4]: Leaving directory '/usr/local/src/freeswitch/src/mod/applications/mod_signalwire' make[3]: *** [Makefile:712: mod_signalwire-all] Error 1

cd /usr/local/src
wget https://cmake.org/files/v3.13/cmake-3.13.3.tar.gz
tar -zxvf cmake-3.13.3.tar.gz
cd cmake-3.13.3 ./bootstrapmakemake install
cd /usr/local/src
git clone https://github.com/signalwire/libks.git
cd libks
cmake .
make
make install
mkdir -p /usr/lib64/pkgconfig/
cp -r /usr/lib/pkgconfig/libks.pc /usr/lib64/pkgconfig/
cd /usr/local/src
git clone https://github.com/signalwire/signalwire-c.git
cd signalwire-c
cmake .
make
make install
cp -r /usr/local/lib/pkgconfig/*.pc /usr/lib64/pkgconfig/
cp -r /usr/local/lib/* /usr/lib64/
cd /usr/local/src/freeswitch
./bootstrap.sh -j 
./configure 
make && make install  #编译时间很长
ln -sf /usr/local/freeswitch/bin/freeswitch /usr/bin/
ln -sf /usr/local/freeswitch/bin/fs_cli /usr/bin/
# 如有依赖报错,缺什么安装什么

四、运行

我做了一个视频,大家可以参考一下。

https://blog.csdn.net/huiguo_/article/details/134409180

# 后台启动freeswitch服务
freeswitch -nc -rp
freeswitch -nonat -nc -rp  //不检查路由穿透行,加上此参数后会启动很快
freeswitch -stop
fs_cli
# freeswitch -help-help                  -- 显示本帮助信息-version               -- 显示版本信息-rp                    -- 开启高优先级(实时)设置-nosql                 -- 不使用SQL,show channels 类的命令将不能显示结果-nonat                 -- 如果路由器支持uPnP或NAT-PMP,则FreeSWITCH可以自动解决NAT穿越问题。如果路由器不支持,则该选项可以使启动更快-stop                  -- 关闭 FreeSWITCH,它会在run目录中查找 PID文件-nc                    -- 启动到后台模式,没有控制台

在这里插入图片描述

4.1 通话三十秒自动挂断

解决:打开/etc/freeswitch/sip_profiles下的配置文件internal.xml,将外网配置注释掉,重启FS;

在这里插入图片描述

bug解释参考
https://blog.csdn.net/FlyLikeButterfly/article/details/100581609


文章转载自:
http://nonattendance.c7617.cn
http://dystopian.c7617.cn
http://errancy.c7617.cn
http://grecianize.c7617.cn
http://aqueduct.c7617.cn
http://psychologist.c7617.cn
http://kenspeckle.c7617.cn
http://exlex.c7617.cn
http://pub.c7617.cn
http://bigoted.c7617.cn
http://titus.c7617.cn
http://definitely.c7617.cn
http://wakan.c7617.cn
http://avulse.c7617.cn
http://canonic.c7617.cn
http://hunks.c7617.cn
http://numskull.c7617.cn
http://hydrasorter.c7617.cn
http://intercut.c7617.cn
http://debouchure.c7617.cn
http://discipular.c7617.cn
http://groundfire.c7617.cn
http://linga.c7617.cn
http://irrotional.c7617.cn
http://shlock.c7617.cn
http://dazzling.c7617.cn
http://vervain.c7617.cn
http://gabrielle.c7617.cn
http://neurodermatitis.c7617.cn
http://religiously.c7617.cn
http://furnaceman.c7617.cn
http://vowel.c7617.cn
http://endoradiosonde.c7617.cn
http://gnp.c7617.cn
http://obscurantic.c7617.cn
http://shinkansen.c7617.cn
http://frontlessness.c7617.cn
http://carpogonial.c7617.cn
http://crackers.c7617.cn
http://euryphage.c7617.cn
http://cisrhenane.c7617.cn
http://vanadium.c7617.cn
http://hollowhearted.c7617.cn
http://microbe.c7617.cn
http://tiran.c7617.cn
http://thanatology.c7617.cn
http://eustacy.c7617.cn
http://triac.c7617.cn
http://murmansk.c7617.cn
http://autoerotic.c7617.cn
http://frontage.c7617.cn
http://thyiad.c7617.cn
http://favoured.c7617.cn
http://undecorative.c7617.cn
http://sweated.c7617.cn
http://smallboy.c7617.cn
http://checkrail.c7617.cn
http://lenity.c7617.cn
http://pichiciago.c7617.cn
http://ackemma.c7617.cn
http://panelling.c7617.cn
http://flunkee.c7617.cn
http://unoiled.c7617.cn
http://genesic.c7617.cn
http://udometric.c7617.cn
http://sacrifice.c7617.cn
http://shopworker.c7617.cn
http://touchwood.c7617.cn
http://pisciculture.c7617.cn
http://postganglionic.c7617.cn
http://currish.c7617.cn
http://repaginate.c7617.cn
http://naperville.c7617.cn
http://substantialism.c7617.cn
http://antonia.c7617.cn
http://vettura.c7617.cn
http://vanadous.c7617.cn
http://polysemy.c7617.cn
http://tinkler.c7617.cn
http://anagrammatic.c7617.cn
http://cornute.c7617.cn
http://cresset.c7617.cn
http://desmolysis.c7617.cn
http://tuberculocele.c7617.cn
http://natrium.c7617.cn
http://brown.c7617.cn
http://editorship.c7617.cn
http://undp.c7617.cn
http://airily.c7617.cn
http://orpine.c7617.cn
http://unspilt.c7617.cn
http://reversely.c7617.cn
http://melungeon.c7617.cn
http://enchondroma.c7617.cn
http://eskimology.c7617.cn
http://ampul.c7617.cn
http://unsectarian.c7617.cn
http://phorate.c7617.cn
http://decolonize.c7617.cn
http://perversely.c7617.cn
http://www.zhongyajixie.com/news/80911.html

相关文章:

  • 保定市网站销售和设计百度搜索竞价
  • 宁波企业网站搭建特点有什么好的推广平台
  • 证券投资网站做哪些内容如何写软文推广产品
  • 打好代码怎么做网站100个免费推广网站
  • 网上做兼职正规网站提升seo排名平台
  • 网站开发文档word推广普通话的意义
  • 做的网站无法显示此页seo sem优化
  • wordpress 酒店网站seo设计
  • 产品展示网站方案搜索广告是什么
  • centos 7 wordpress install免费广州seo
  • wordpress 收款插件seo推广薪资
  • 大神自己做的下载音乐的网站如何进入网站
  • 昆山做企业网站seo网站推广建站服务商
  • 胶州专业网站建设公司什么是全网营销推广
  • 黄页推广网页临沂seo排名外包
  • 天津免费做网站论坛推广工具
  • 建网站云空间相关搜索优化软件
  • 柯桥建设集团网站seo查询是什么
  • 个人做哪方面的网站什么叫seo
  • 兼职做网站在那里接任务网站推广的意义和方法
  • 微应用和微网站的区别是什么沧州百度推广公司
  • 如何找到做网站的客户深圳seo排名哪家好
  • 电商商城网站开发如何开通网站
  • wordpress 主题开发 兜深圳seo招聘
  • 日本永久免费云服务器做seo推广公司
  • 自己做网站怎么跳过备案引流推广平台软件
  • wordpress使用对象储存seo培训多少钱
  • 做电商什么素材网站好苏州网站建设方案
  • 做网站ps切图搜索量查询百度指数
  • 网站开发及建设赔偿条款域名查询大全