I’m using Openfire 3.3.1, Gateway plugin 1.0.2, Smack 2.2.1. (I’m aware that these are all old versions.)
I’m following XEP-0100. In the discovery response I see a feature jabber:iq:registered.
I got the impression I can use this to determine whether a username is already registered with a gateway transport, & I’d like to use this rather than my current implementation in which I register usernames with gateway transport whenever I login the Openfire user.
I used the Ad-hoc message tab of the debugger to send an IQ GET using the jabber:iq:registered namespace to the gateway transport, but it returns error code 503 (service unavailable). The same procedure gives sensible results for namespaces jabber:iq:version & jabber:iq:gateway, also listed in the discovery response, so I feel I’m on the right track.
Is my interpretation of jabber:iq:registered correct?
From poking around a little more, I’ve found that when I send an IQ GET for jabber:iq:register, the response contains username & password of the registered gateway transport user if any; is this how I’m supposed to determine whether a transport user is already registered? Is this the semantics implied by the jabber:iq:registered feature?
Thanks
– Richard