Skip navigation
7052 Views 8 Replies Latest reply: Aug 15, 2007 6:37 AM by andrisi RSS
Bronze 6 posts since
Aug 6, 2007
Currently Being Moderated

Aug 13, 2007 12:49 PM

XMPP routing? - Google Apps' GTalk client...

 

We're using a Google Apps for You Domain domain, and it provides GTalk chat client too (it it's Gmail variant), but it always connects to Google's servers, and not the ones specified in the DNS SRV records for my domain - an Openfire server of ours. We still would like to provide the gateway functionality of Openfire to our users (to access MSN, ICQ, etc. there) so I'm thinking if it is possible to use it as some kind of router that forwards IMs to Google's servers (from any gatewayed network) if it sees a user of ours login to them. Do you think it's possible with Openfire and your gateway or maybe some other software - and if not, do you think it will ever be implemented? Anyone else run into this problem?

 

 

 

 

 

  • Daniel Henninger Gold 2,953 posts since
    Aug 10, 2005
    Currently Being Moderated
    Aug 13, 2007 5:47 PM (in response to andrisi)
    Re: XMPP routing? - Google Apps' GTalk client...

    I'm going to answer you here even though we started this conversation over email.  (for the benefit of others)

     

    First off, here was my first response:

    Wow  =)  Ok, a couple of blanket statements first.  The IM Gateway plugin explicitly only works with local accounts.  (it uses openfire internals and therefore can't work with external things without major reworkings and ejecting some of the "cleanness" about the implementation)  PyAIMt, PyICQt, PyMSNt, PyYIMt, PyIRCt, PyXMPPt ... all of them should work remotely.  (like you can set up an openfire or whatever server somewhere and they can be used from GTalk)

     

    That said, I'm afraid I don't really know anything about forwarding IMs.  You might be able to do something where you "tie" an openfire account to a gtalk account and somehow log in the openfire account with the gtalk account and forward messages ... but that sounds kinda scarey.  ;D

     

    I don't know if I'll ever implement remote servers being able to connect to the plugin.  It completely destroys any ability to be "smooth" about the whole process.  Like on first registration you'd be back to getting a flood of "will you add me?" from each and every contact.  There's lots of room for things getting out of sync.  It's actually part of the reason why I adored creating a plugin based on internals.  =/

     

    Now to answer your followup:

    Thanks for the answer! What do you mean by usable from GTalk. The

    Google Talk client? That will only connect to Google's servers. Or you

    mean generally an XMPP client?

     

    With the python based transports, they really don't care where you are coming from.  They follow XEP-0100 more or less dead on.  So even if you are on google talk, you can register your google talk account with, say, aim.myserver.org.  The IM gateway plugin can not do this because it uses mechanisms inside of Openfire to tie directly into your roster and such... which means it can't tie into a roster on another server somewhere else which means it can't really be used from an external server.

      • Daniel Henninger Gold 2,953 posts since
        Aug 10, 2005
        Currently Being Moderated
        Aug 14, 2007 5:09 AM (in response to andrisi)
        Re: XMPP routing? - Google Apps' GTalk client...

        I believe there have been a number of folk using PyAIMt and PyICQt from their google talk accounts.  I have had reports filter in here and there.  Google talk's servers have s2s enabled like anything else and you can connect to them from non-google talk clients.  Like one could use Psi, log into the google talk servers, use service discovery to connect to another server somewhere ruinning PyAIMt and such, and register remotely.

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points