global server to server communication

Hello,

Is there a way for a jabber server to find out about services offered by other jabber servers? Assume I am john@jabber1.org, and I am looking for a "conference" service. If jabber1.org does not offer the service, it would be nice if it could search for the service, which is offered by lets say jabber2.org, and then inform me of its location.

I am thinking of a peer-to-peer connection between jabber servers, such that they can exchange information and coordinate to find services.

Any suggestions or ideas?

Thanks

- Salem

You can use service

You can use service discovery to browse to other servers in a similar way how your webbrowser works.

  1. You are john@jabber1.org
  2. You open the service discovery window.
  3. You enter jabber2.org
  4. You get a list of services on jabber2.org including conference.jabber2.org

Remark also that it is possible to add an automatic link to the other server by changing the mod_disco settings of ejabberd. This will cause the other server's services discovered when the local server is browsed.

--
sander

Thanks for the reply.

Thanks for the reply.

Yes, what you described is exactly what I want to do. However, I do not want step (3) to be done manually. In other words, I dont want to "enter jabber2.org", I want this to be accomplished automatically. Therefore, when you request a conference service, jabber1.org will enter a special type of overlay network and coordinate with other ejabberd servers, as done in P2P file sharing applications, and search for the service you requested.

What do you think? I may use Gnutella to accomplish this.

Salem

I do not exactly understand

I do not exactly understand what you want to achieve? With step 3 I don't mean you need to create an account on jabber2.org! You can do this step with your account on jabber1.org when server-to-server (s2s) communication is enabled on both servers. So you do not need an account in jabber2.org to discover the services on that server!

--
sander

Automatic Discovery of Servers

Hello,

Yes I am aware of that. However, you need to be aware of the existance of "jabber2.org" first, then you can add it to the mod_disco extra_hosts. My vision is that, you dont know that jabber2.org exists, when you ask your server (jabber1.org) for an IRC service, it will search (using p2p techniques) for jabber servers on the internet that provide an irc service, and finally return the details of this service to you.

So, the idea is to avoid pre-knowledge in step 3, and automate everything in this step using P2P.

I hope I was clear this time :-)

Sorry for the english.

- Salem

This is maybe a good use

This is maybe a good use case for Publish-Subscribe...

--
sander

Syndicate content