[jdev] Gaim and gnomemeeting using jabber

Tijl Houtbeckers thoutbeckers at splendo.com
Thu Dec 2 10:22:13 CST 2004


On Thu, 2 Dec 2004 14:02:43 -0000, Richard Dobson <richard at dobson-i.net>  
wrote:


> Ok then here you go:
>
> [snip a long protocol]

Or, you just advertise your VoIP capability when it's enabled.

<presence>
   <c xmlns='http://jabber.org/protocol/caps'
      node='http://exodus.jabberstudio.org/caps'
      ver='0.9'
      ext='tins ftrans xhtml voipuri'/>
</presence>

When you disable it (for example when you're in a call)

<presence>
   <c xmlns='http://jabber.org/protocol/caps'
      node='http://exodus.jabberstudio.org/caps'
      ver='0.9'
      ext='tins ftrans xhtml'/>
</presence>

and then when you know the other side is VoIP capable, send them a URI  
using JEP-66. (As JEP-66 states: "Going further afield, several existing  
Jabber clients use the callto: URI scheme to initiate voice conferencing  
via NetMeeting or GnomeMeeting.")

<message from='stpeter at jabber.org/work'
          to='MaineBoy at jabber.org/home'>
   <x xmlns='jabber:x:oob'>
     <url>callto:whatever</url>
   </x>
</message>

You can add in some disco nodes and such (perhaps about which different  
uri schemes clients support) when GAIM supports that or you when you want  
to make a JEP for it. (since Entity capabilities and Disco are linked).

You can implement this using existing protocols that work today, still  
have your functionality requirments met, and not expose your IP until you  
initiate a call. You'll just need to patch GAIM to support 115.



More information about the JDev mailing list