jami
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Ring] Call ring contact in bash or from (Python) program ?


From: Sebastien Blin
Subject: Re: [Ring] Call ring contact in bash or from (Python) program ?
Date: Mon, 10 Sep 2018 08:10:13 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1

Hi and sorry for the delay.

It's totally possible to interact with Ring via bash or Python. Ring has a deamon with a dbus interface on linux. You just need to call dbus commands to do that. For example, long time ago I did a little script to interact between Ring and IRC. https://gist.github.com/AmarOk1412/df88402e9a1e5710898cd2df2be117d8

A wrapper already exists for Python and is in ring-daemon/tools/dringctrl.py

Some commands are missing, but you've got enough to do what you want :)

If you need some help, feel free to answer.

Sebastien


On 09/05/2018 07:06 AM, Yvo Brasseur wrote:
Hi,
I am a newbee as far as Ring is concerned,  but active with Linux and open source for many years.
I have been searching the web for quite some time now, but can't seem to find any information on
how to use ring form bash.
I am using Xubuntu 18.04.1,  and tried out the ring(.cx and daemon) 20180228.1.503da2B~ds-1build1
from the repository,  and the ring-kde_3.0.0_x86_64.AppImage.

They work in the gui (XFCE).

I have a small application that allows my old godmother (96 years) to place a video call by dropping
a fotograph on a plate,  which in turn activates a Skype call .
(She can no longer handle a mouse or a keyboard).

But for that I should be able to video call a specific contact directly from a command line interface.
I am also testing with Linphone and Ekiga (SIP), but encounter quality problems with the connection
(that is well with Skype).

Could ring provide me the solution ?
I would love it,  being an official GNU package and being released under the GPLv3 licence.

Brgds,

Yvo Brasseur.

--

IT beheer met raad en daad ...

Gasthuisstraat 25,
3200 Aarschot

Gsm: +32/(0)475/53.92.86
Tel.:   +32/(0)16/57.05.40
Skype ID: yvo.brasseur
(Pls send SMS or mail before using Skype to have it activated.)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]