[JDEV] jabber:iq:oob problems

Keith Minkler keith at digix.dyndns.org
Sun Nov 26 23:33:31 CST 2000


> 1.  Server requires a Jabber ID resource.

Yes, this is true.. the server will not route iq packets to user at host, only to user at host/resource.. this is neccessary within the protocol, since iq messages require a responce, and a specific destination.  Therefore, you can only send to users who you know are online (i.e you know thier current resource), and in order to know if they are online, you will have to have a s10n (subscription) to them, and in order to have a s10n to them, they will need to be in your roster..

this is not a bug, this is a feature by carefull design

> 2.  OOB/mini web server sequence of events 
> There isn't any documentation on the sequence of events that
> is supposed to happen between clients using oob iqs.  After

the JPG has something to say about the iq:oob namespace, but it doesn't really do a good job of defining the process
http://docs.jabber.org/jpg/refiqoob.html

basically, you have it right, A sends the iq request, B either says YES i am goign to download it, or NO I am not, then A sets up his server if B will download, etc, for one user download.

> I plan to do it this way:  the first client sends out the

Your way works perfectly with what is already implemented in JabberIM/winjab/Jabba

Hope this answers all your questions,

Keith Minkler




More information about the JDev mailing list