阿里云 opensips nat内网穿透

书接上文,上次在阿里云安装好opensips之后,发现无法在公网ip监听。为了能够快速测试后续改用内网服务器搭建sips服务器。现在功能差不多了,于是就需要将opensips服务器重新部署到公网上。不得不再次面对这个蛋疼的问题。通过搜索之后发现可以通过rtpproxy实现内网穿透?(这个说不知道准不准去,没有深入研究实现原理)

方法也比较简单,安装rtpproxy:

sudo apt-get install rtpproxy

安装之后修改opensips.cfg配置文件,添加如下内容:

#rtpproxy
loadmodule "rtpproxy.so"
modparam("rtpproxy", "rtpproxy_sock", "unix:/var/run/rtpproxy/rtpproxy.sock") #需要将unix路径修改为rtpproxy对应的sock路径。
Continue Reading

ubuntu 18.04 安装opensips 3.1

OpenSIPS is an Open Source SIP proxy/server for voice, video, IM, presence and any other SIP extensions.OpenSIPS is a multi-functional, multi-purpose signaling SIP server used by carriers, telecoms or ITSPs for solutions like Class4/5 Residential Platforms, Trunking / Wholesale, Enterprise / Virtual PBX Solutions, Session Border Controllers, Application Servers, Front-End Load Balancers, IMS Platforms, Call Centers, and many others – see the full Set of Features.

搜索一下网上安装opensips的文章基本都是源码安装的,虽然从源码安装并不是十分困难,但是在安装过程中需要处理各种依赖库。并且在某些系统上会出现编译不过的问题,在阿里云的服务器上很容易就通过源码安装好了opensips。但是由于阿里云的ecs没有经典网络,所以无法在公网ip绑定服务,导致客户端无法正常连接。如果有在阿里云部署服务的,那么可能会在这个地方失败。

在内网尝试部署的时候出现了另外一个问题,那就是源码编译不过去。搜索了一下发现其实可以通过ubuntu的apt命令进行安装,不过官方的apt源限定了linux的发行版本。所以在安装之前最好先确认一下,建议使用ubuntu18.04.

Continue Reading

海信(Hisense)60E3F 安装第三方应用

  • 商品名称:海信60E3F
  • 商品编号:100007300763
  • 商品毛重:21.0kg
  • 商品产地:中国大陆
  • 屏幕尺寸:58-60英寸
  • 能效等级:三级能效
  • 分辨率:4k超高清(3840×2160)
  • 电视类型:全面屏,人工智能,教育电视,超薄,4K超清
  • 选购指数:10.0-8.0
  • 观看距离:3m-3.5m(56-65英寸)
  • 产品渠道:线上专供

老家的房子装修完一段时间了,最近准备家电。于是就想着把现在用的电视替换下来,带回老家用。之所以有这么个决定是因为1在老家呆的时间有限,并且现在用的电视已经四五年了,系统非常卡。但是如果连接有线电视看基本没有任何问题,尺寸也足够55寸。于是就从二手东买了一个新的进来,做完安装好之后,想给电视装个ds file。结果拷贝到u盘之后发现文件不显示。无法安装。

Continue Reading

Farming Simulator 18 IAP CRACK

Step into the exciting world of farming with Farming Simulator 20! Harvest many different crops, tend to your livestock of pigs, cows, and sheep, and now ride your own horses, letting you explore the vast land around your farm in a brand-new way. Sell your products in a dynamic market to earn money which you can invest in additional machinery and the expansion of your farm.

In Farming Simulator 20 you take control of over 100 vehicles and tools faithfully recreated from leading brands in the industry. For the first time on mobile platforms this includes John Deere, the largest agriculture machinery company in the world. Drive other famous farming brands such as Case IH, New Holland, Challenger, Fendt, Massey Ferguson, Valtra, Krone, Deutz-Fahr and many more.

下载链接:

https://www.iphonecake.com/app_1478611992_.html

Continue Reading

群晖 NAS Python3 PIP

群晖默认的python版本为python2.如果要安装python3可以通过套件中心进行安装

安装的python并没有带pip工具,如果直接执行

pip3 install requests

会直接报错:-sh: pip3: command not found

通过如下命令安装pip3:

curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python3 get-pip.py 

安装成功之后可能会出现如下警告:

提示安装路径不在PATH中。要解决这个问题可以将路径添加到PATH变量中,或者在执行的时候切换到指定的目录:

不过比较坑的一点事群晖的sh即使在切换到安装目录之后依然会提示命令未找到,可以通过以下命令安装库:

./pip3 install requests

Continue Reading