安装“ring.cx SIP客户端”在树莓PI [英] Installing the "ring.cx SIP client" on a Raspberry PI

查看:838
本文介绍了安装“ring.cx SIP客户端”在树莓PI的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在我的Raspberry Pi上使用基于终端的(无头)SIP电话,我已经尝试使用linphone:

I would like to get terminal-based (headless) SIP calls working on my Raspberry Pi and I already tried this using linphone:

RaspberryPI:使用linphonec或备用SIP软电话进行SIP出站呼叫

由于我目前卡在那里,我想尝试另一个选项, SFLPhone 。他们指向我 ring 软件项目,它提供了一个守护进程 dring 允许使用脚本界面进行SIP调用:

Since I am currently stuck there I wanted to try another option which was SFLPhone. They pointed me towards the ring software project which offers a daemon dring which allows making SIP calls using a scripting interface:


确实,守护程序可以独立运行,并使用DBus API进行控制。

Indeed, the daemon can run standalone and be controlled using the DBus API.

请注意,项目已经重命名为Ring(版本被碰撞到2.x)。实验性软件包可在 http://ring.cx/en/documentation/linux-installation
Ring
2.x的主要功能是可选的DHT帐户类型,允许在没有任何SIP服务器的情况下拨打电话。
还有许多其他增强功能,如ICE支持,UPnP支持,稳定性改进等。
(注意客户端正在重写(GTK3,Qt5),并有一个新的OS X客户端,他们不是

Note the project have been renamed to "Ring" (version is bumped to 2.x). Experimental packages are available at http://ring.cx/en/documentation/linux-installation A major feature of Ring 2.x is the optional "DHT" account type allowing to make calls without any SIP server. There are many other enhancements such as ICE support, UPnP support, stability improvements etc. (note clients are being re-written (GTK3, Qt5) and there is a new OS X client, they are not yet feature complete and in heavy development.)

新的守护程序 dring source Git repo URI is: https://gerrit-ring.savoirfairelinux.com/ring
DBus API大部分和以前一样。在 tools / dringctrl 目录中,您将找到一个用于测试的示例python客户端(使用 python3-dbus ) 。

The new daemon dring source Git repo URI is : https://gerrit-ring.savoirfairelinux.com/ring . The DBus API is mostly the same as before. In the tools/dringctrl directory you will find an example python client that we use for testing (uses python3-dbus).

我们愿意修复您可能发现的任何错误,守护进程bugtracker在这里: https://projects.savoirfairelinux.com/projects/ring-daemon/issues
另请参阅 https://projects.savoirfairelinux.com/projects/ring/wiki 用于构建指令等。

We are willing to fix any bugs you may find, the daemon bugtracker is here : https://projects.savoirfairelinux.com/projects/ring-daemon/issues Also look at https://projects.savoirfairelinux.com/projects/ring/wiki for build instruction etc.

为您的嵌入式项目感谢并祝你好运,
AB

Regards and good luck for your embedded project, A. B.



编译依赖项



我试图编译项目的依赖项,如 README 中所述:

git clone https://gerrit-ring.savoirfairelinux.com/ring
cd ring

首先编译依赖项

cd ../contrib/
rm -fr native/ && mkdir native
cd native
../bootstrap
make

我收到此错误:

libvpx.webm-4640a0c4804b/third_party/googletest/src/include/gtest/gtest.h
mv libvpx-4640a0c4804b49f1870d5a2d17df0c7d0a77af2f libvpx && touch libvpx
cd libvpx && CROSS= ./configure --target=armv7-linux-gcc \
    --as=yasm --disable-docs --disable-examples --disable-unit-tests --disable-install-bins --disable-install-docs --enable-realtime-only --enable-error-concealment --disable-runtime-cpu-detect --disable-webm-io --enable-pic --prefix=/home/pi/ring/contrib/arm-linux-gnueabihf
  disabling docs
  disabling examples
  disabling unit_tests
  disabling install_bins
  disabling install_docs
  enabling realtime_only
  enabling error_concealment
  disabling runtime_cpu_detect
  disabling webm_io
  enabling pic
Configuring selected codecs
  enabling vp8_encoder
  enabling vp8_decoder
  enabling vp9_encoder
  enabling vp9_decoder
Configuring for target 'armv7-linux-gcc'
  enabling armv7
  enabling neon
  enabling neon_asm
  enabling media
Unable to invoke compiler: arm-none-linux-gnueabi-gcc  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

Configuration failed. This could reflect a misconfiguration of your
toolchains, improper options selected, or another problem. If you
don't see any useful error messages above, the next step is to look
at the configure error log file (config.log) to determine what
configure was trying to do when it died.
../../contrib/src/vpx/rules.mak:105: recipe for target '.vpx' failed
make: *** [.vpx] Error 1



编译环



尽管编译依赖项失败,编译环:

Compiling ring

Despite compiling the dependencies failed I did attempt to compile ring:

git clone https://gerrit-ring.savoirfairelinux.com/ring
cd ring
./autogen.sh
./configure
make
make install


$ b b

这导致了以下错误:

This caused the following error:

checking for PJPROJECT... no
configure: error: Missing pjproject files
pi@phone ~/ring $     make
make: *** No targets specified and no makefile found.  Stop.
pi@phone ~/ring $     make install
make: *** No rule to make target 'install'.  Stop.

这篇关于安装“ring.cx SIP客户端”在树莓PI的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆