I have a related question to Kraken as well. I am unsure how to use the Gateways myself.
I just downloaded and installed Openfire + Kraken, both the latest versions available. I am creating my own client for mobile devices using an open source library. I am following this documentation’s flow to register a user to a Gateway: http://xmpp.org/extensions/xep-0100.html
in section 4.1 Register, I am up to step #8
“Optionally, Jabber User sends IQ-set qualified by the ‘jabber:iq:roster’ namespace to its server (see RFC 3921 ), containing a roster item for Gateway.”
What I am expecting next is #9:
“Gateway sends subscription request to Jabber User (i.e., by sending a presence stanza of type “subscribe” to Jabber User’s bare JID).”
But this never happens, can anyone tell me why?
If I send a Registration snippet containing my GTalk username and password to the GTalk gateway, it looks like the registration is successful, as I can see it under Registrations in Openfire console. I can also see my GTalk Roster in the Roster section. However, I have to login twice to get the full Roster back. So the sequence is this:
Ask for Roster, no response
Ask for Roster, get full Roster this time.
Anyone can tell me why I need to register / login twice? It may have something to do with question #1 I suppose.
Continuing on Question #2, I am not getting any Presence updates from my contacts even after I send a presence probe by sending a blank Presence snippet. Why? May have something to do with #1 as well.
Thanks a lot for any help