问题描述
我想在我的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:
由于我目前卡在那里,我想尝试另一个选项, 。他们指向我软件项目,它提供了一个守护进程 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:
请注意,项目已经重命名为Ring(版本被碰撞到2.x)。实验性软件包可在。
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在这里:
另请参阅用于构建指令等。
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的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!