Ticket #1032 (closed enhancement: wontfix)

Opened 3 years ago

Last modified 10 months ago

JEP-0152: Reachability Addresses (assists Gajim to easily call external application to do f.e. VoIP)

Reported by: nk Owned by: nk
Priority: lowest Milestone:
Component: None Version:
Severity: minor Keywords:
Cc: OS: All

Description

http://www.jabber.org/jeps/jep-0152.html

in this JEP we broadcast other adresses we can be reached so with magic buttons we can ask gnome-meeting or whatever to launch in that address etc etc

Attachments

Change History

Changed 3 years ago by nk

  • owner changed from asterix to nk

and of course we 'll do the presence way and not the PubSub? as no server runs that service in non-beta form and we want user to benefit no matter what

Changed 3 years ago by nk

  • milestone set to 0.10

Changed 3 years ago by nk

I can't wait for GM to come out with DBUS api

also http://telepathy.freedesktop.org/spec.html

Changed 3 years ago by nk

voip skype etc are also in the profile jep which at last removes vcard-temp http://www.jabber.org/jeps/jep-0154.html

Changed 3 years ago by asterix

  • type changed from defect to enhancement

Changed 3 years ago by nk

  • milestone changed from 0.10 to 0.11

Changed 3 years ago by nk

Damien is a great man. Not only he was so cool talking to, he apparently passed some comments I did to the right man. and he was also cool to join our room and spit the information.

so Snark said that calling sip:bar is done via this way (very difficult :D):

import dbus
bus = dbus.SessionBus()
obj = bus.get_object ('net.ekiga.instance', '/net/ekiga/instance')
calls = dbus.Interface(obj, 'net.ekiga.calls')
calls.Connect ('sip:bar')

dbus-api: http://cvs.gnome.org/viewcvs/gnomemeeting/src/components/dbus_stub.xml?view=markup

I hope still they do this into some official docs, atm this is more than enough for us ;)

Changed 3 years ago by nk

if ekiga was providing --socket-id (as Gvim) does then we could embed it pretty easy (using gkt.Socket()) also see vimembed.py from PIDA source (utils/vim/)

so atm all we can do is 'call Ekiga via D-Bus' and even start it if not running. much as MSN does (or used to do) "call netmeeting"

Changed 3 years ago by nk

  • status changed from new to closed
  • resolution set to wontfix

to feed google bot (so at least this info is not lost)

mport dbus
bus = dbus.SessionBus()

obj = bus.get_object ('net.ekiga.helper', '/net/ekiga/helper')
helper = dbus.Interface(obj, 'net.ekiga.helper')
obj = bus.get_object ('net.ekiga.instance', '/net/ekiga/instance')
accounts = dbus.Interface(obj, 'net.ekiga.accounts')
calls = dbus.Interface(obj, 'net.ekiga.calls')
self = dbus.Interface(obj, 'net.ekiga.self')

helper.GetVersion()
helper.GetSupportedProtocols()

accounts.GetAccountsList ()
accounts.Register ('foo')
accounts.Unregister ('foo')
accounts.ResignalAccountState ('foo')

calls.GetCallsList ()
calls.Connect ('sip:bar')
calls.Disconnect ('token')
calls.PlayPause ('token')
calls.Transfer ('token', 'sip:foo')
calls.ResignalCallInfo ('token')

self.GetLocalAddress ('SIP')
self.GetName ()
self.GetLocation ()
self.GetComment ()
self.Shutdown ()

docs:

>> accounts.ResignalAccountState ('foo') # what is this?

Triggers the emission of the signals giving the state of account 'foo'.

>> calls.GetCallsList () # this returns the phonebook entries?

No, the current calls tokens.

>> calls.Connect ('sip:bar')

(returns a call token, so you can know what happened by receiving signals)

>> calls.Disconnect ('token') # what is token?

Think about a token as an identifier.

>> calls.PlayPause ('token') # what is this?

You can play/pause a call. The call is still up, but no more audio/video
goes through.

>> calls.Transfer ('token', 'sip:foo') # what exactly does this do? :) what is token

It transfers the call to the given address, ie : the contact you were
talking to in 'token' gets now talks to sip:foo.

>> calls.ResignalCallInfo ('token') # what is this?

Again, the idea is that you know about a call by getting signals about
the token... this triggers the emission of the signals for the call.

>> self.GetLocalAddress ('SIP') # this gets our address?

Yes, for the SIP protocol. Less reliable for the H.323 protocol.

>> self.GetName () # this gets our name?

Yes.

>> self.GetLocation () # our loc

Yes.

>> self.GetComment () # our comment

Yes.

>> self.Shutdown () # this closes Ekiga?

Yes.

> hi, you said
>
> It is possible to launch ekiga through dbus. If it already runs, nothing
> happens.
>
> can you say how? As I've already wasted a day tracking down a gtk bug
> :$ [on sth else]

import dbus
bus = dbus.SessionBus ()
bus.start_service_by_name ('net.ekiga.instance')

all credits goest to Snark

Changed 2 years ago by nk

  • priority changed from normal to lowest
  • resolution changed from wontfix => * severity: normal to minor

Changed 2 years ago by jim++

  • type changed from defect to enhancement

Changed 10 months ago by steve-e

  • os set to All

This XEP is deferred and therefore I propose WONTFIX. This ticket could be reopened when the XEP is updated (one day maybe...)

See http://www.xmpp.org/extensions/xep-0001.html#states-Deferred

Changed 10 months ago by asterix

  • status changed from reopened to closed
  • resolution set to wontfix

moreover we'll soon have jingle :)

Changed 10 months ago by nkour

heheh. oh those old memories.. all now deferred :-$

Add/Change #1032 (JEP-0152: Reachability Addresses (assists Gajim to easily call external application to do f.e. VoIP))

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.