[jdev] Re: Resource-to-Resource Messaging and priorities
Roel Spruit
roelspruit at gmail.com
Thu Nov 10 07:37:13 CST 2005
Hi,
I'm reasonably sure our server is ok, because I just tried the same
conversation between
Miranda and Exodus on the same server. The xml I catch from client2 is:
RECV: <message to="roel at davenport.office.sping.nl/BuzzaaMobile<http://roel@davenport.office.sping.nl/BuzzaaMobile>"
type="chat" id="mir_8"
from="roel at davenport.office.sping.nl/buzzaaclient"<http://roel@davenport.office.sping.nl/buzzaaclient">><body>test</body><x
xmlns="jabber:x:event"><composing/></x></message>
SENT: <message id="jcl_28"
to="roel at davenport.office.sping.nl/buzzaaclient<http://roel@davenport.office.sping.nl/buzzaaclient>"
type="chat"><thread>6831ae16f80f18d1218cc66d2d43d9409ba0c15f</thread><body>reply3</body><x
xmlns="jabber:x:event"><composing/></x></message>
And all goes as expected....
Roel
ps. Oh well, if everything fails, I can always blame my xmpp
library...agsXMPP.... ;)
On 11/10/05, Alexander Gnauck <gnauck at ag-software.de> wrote:
>
> hi Roel,
>
> your XML looks correct to me. I looks like there is a routing problem in
> the server. Did you try your clients with another public server?
>
> Regards
> Alex
>
>
> Roel Spruit schrieb:
> > This is the xml from both client1 and client2, I censured all jids and
> > stuff.
> >
> > CLIENT1:
> > SENT: <message xmlns="jabber:client" to="roel at blah.nl/client2<http://roel@blah.nl/client2>
> > <http://roel@blah.nl/client2>"
> > type="chat"><body>sometext</body><thread>blah</thread></message>
> >
> > CLIENT2
> > RECV: <message to="roel at blah.nl/client2 <http://roel@blah.nl/client2> <
> http://roel@blah.nl/client2>"
> > type="chat" from="roel at blah.nl/client1 <http://roel@blah.nl/client1>"
> > <http://roel@blah.nl/client1"
> >><body>sometext</body><thread>blah</thread></message>
> > SENT: <message id="jcl_9" to="roel at blah.nl/client1<http://roel@blah.nl/client1>
> > <http://roel@blah.nl/client1>"
> > type="chat"><thread>blah</thread><body>heyyy</body><x
> > xmlns="jabber:x:event"><composing/></x></message>
> > RECV: <message id="jcl_9" to="roel at blah.nl/client1<http://roel@blah.nl/client1>
> > <http://roel@blah.nl/client1>" type="chat" from="roel at blah.nl/client2"<http://roel@blah.nl/client2">
> > <http://roel@blah.nl/client2"
> >><thread>blah</thread><body>somereply</body><x
> > xmlns="jabber:x:event"><composing/></x></message>
> >
> > We are using the Jive jabber server
> >
> > Thanks in advance!
> >
> > Roel
> > On 11/10/05, *Matthias Wimmer* <m at tthias.net <mailto:m at tthias.net>>
> wrote:
> >
> > Hi Roel!
> >
> > I propose you send us a dump of the messages, so we can check why it is
> > routed that we. It might also be interesting which server software you
> > are using, in case that there is a bug in the server.
> >
> >
> > Tot kijk
> > Matthias
> >
> > Roel Spruit schrieb:
> >
> > > Hi Folks,
> > >
> > > I'm developing a limited xmpp client that is meant to communicate
> > with
> > > another
> > > xmpp client...that I'm also building (yeah, busy busy). These two
> > > clients will
> > > be logged on at the same jabber server, under the same name, but each
> > > under
> > > a different resource.
> > >
> > > My problem: I can send a message from client1 to client2, and it
> > > arrives as expected,
> > > with the client1 resourcename as the sender. However, when I reply to
> > > this message,
> > > the reply ALSO arrives at client2, and not at client1.
> > >
> > > I figured this was a priority problem, but it doesn't seem to be,
> > with
> > > client1 at the maximum
> > > priority it still fails.
> > >
> > > Can anybody help me with this problem?
> > >
> > > Regards,
> > >
> > > Roel Spruit
> >
> >
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.jabber.org/jdev/attachments/20051110/dcb67f03/attachment-0002.htm>
More information about the JDev
mailing list