[JDEV] Presence probe requests

Matt Kearse matt at netwinsite.com
Mon Mar 31 21:27:03 CST 2003


I am in the process of adding Jabber protocol support to our own
instant messaging server. (http://netwinsite.com/dbabble)

However, I have run into a problem when implementing server to
transport communication. It seems that none of the transports I have
tried (msn, yahoo, icq) respond to a presence probe request.

For example, early on I send this to the transport:
<presence to='267594679 at aim.jabber.cz/' from='qwe at netwin.co.nz/' type='subscribe'/>

And receive this in response:
<presence to='qwe at netwin.co.nz' from='267594679 at aim.jabber.cz' type='subscribed'/>

After restarting the server, it is necessary to fetch the state of
subscribed contacts again, so I send this to the transport:

<presence to='267594679 at aim.jabber.cz/' from='qwe at netwin.co.nz/' type='probe'/>

and receive no reply. Is this normal behavior for the transports or am
I just doing something wrong here?

Matt Kearse





More information about the JDev mailing list