PDA

View Full Version : [jdev] Something funny with Coccinella


Jonathan Dickinson
05-21-2008, 01:43 PM
Hey All,

I am getting a strange problem with Coccinella (doesn't seem to happen with Coversant Communicator).

I am getting the following in the /chat/ window:

[14:32] <Adriaan> probe
[14:32] <Adriaan> Available

I am sending the following XML to it:
<presence from="adriaan (AT) jonathand (DOT) k2workflow.com/8c94a1f8386240bf8cfaadf3897dd738" to="jonathand (AT) jonathand (DOT) k2workflow.com" type="probe" />

And the response from Coversant Communicator (after I probe it) to Coccinella:
<presence from="adriaan (AT) jonathand (DOT) k2workflow.com/8c94a1f8386240bf8cfaadf3897dd738
" to="jonathand (AT) jonathand (DOT) k2workflow.com" />

Does that look wrong to anybody?

Understandably, Coccinella never responds with the presence (after a probe), so Adriaan shows as present in Coccinella but in the other client (which responds to the probe) Jonathand doesn't show as present.

Any ideas?

Thanks guys...

Alexander Gnauck
05-21-2008, 02:12 PM
Jonathan Dickinson schrieb:
> Any ideas?

from RFC3921
probe -- A request for an entity's current presence; SHOULD be generated
only by a server on behalf of a user.

you should not probe clients. This is meant for servers only (s2s).

Alex

Jonathan Dickinson
05-21-2008, 02:29 PM
Thanks, I did figure it out. :)

IM+Presence+Roster working! Yay!

> -----Original Message-----
> From: jdev-bounces (AT) jabber (DOT) org [mailto:jdev-bounces (AT) jabber (DOT) org] On Behalf Of
> Alexander Gnauck
> Sent: 21 May 2008 02:11 PM
> To: jdev (AT) jabber (DOT) org
> Subject: Re: [jdev] Something funny with Coccinella
>
> Jonathan Dickinson schrieb:
> > Any ideas?
>
> from RFC3921
> probe -- A request for an entity's current presence; SHOULD be generated
> only by a server on behalf of a user.
>
> you should not probe clients. This is meant for servers only (s2s).
>
> Alex