Fw: [JDEV] switching from conference room messages to direct chat messages

David Sutton jabber at dsutton.legend.uk.com
Thu Oct 24 11:52:43 CDT 2002


Hello,

  If you are sending a message directly between two users, using their
  real jids, then this will never touch the conference service at all,
  unless the system is misconfigured.

  Suggestion. Try running the jabberd process with the -D option, to
  grab the debug logs. This will output to standard output everything
  that the server is doing and might explain whats going on - i'd also
  redirect the output to a file, and use Control-C when you've gathered
  enough information to look through. The command would look something
  like: jabberd/jabberd -c jabber.xml -D >& logfile

Regards,

  David

On Thu, Oct 24, 2002 at 12:39:11PM +0100, Rob Davis wrote:
> Hi there
> 
> I'm developing a Jabber client and have what seems to be an unexpected
> problem that perhaps you can cast some light on.
> 
> I have two user chatting in a conference room, however when they leave
> the room (sending presence unavailable to the room) messages sent
> directly between those users no longer arrives.
> 
> You can see the XML thats being passed between the two clients below.
> 
> It could be something obvious, but this ones got me flumoxxed at the
> moment (if thats how you spell 'flumoxxed')
> 
> Rob
> 
> ----------------------
> 
> When they are within the chat room, they communicate like this:
> 
> <message to="lobby at conference.localhost"
> from="lobby at conference.localhost/rob"><body>test</body></message>
> 
> And the message is received as expected:
> 
> <message to="qqq at www.gameking.tv/home"
> from="lobby at conference.localhost/rob" type="groupchat"
> cnu=""><body>test</body></message>
> 
> My users are then leaving the conference room like this:
> 
> <presence type="unavailable" to="lobby at conference.localhost/rob" />
> 
> Which as expected notifies all the other room members:
> 
> <presence type="unavailable" to="qqq at www.gameking.tv/home"
> from="lobby at conference.localhost/rob" />
> 
> We then then switch to direct person-to-person messaging like this:
> 
> <message to="qqq at www.gameking.tv"
> from="rob at www.gameking.tv"><body>lalal</body></message>
> 
> However the problem is that the message is never received by the
> recipient.
> 
> If the users stay in the chat room, Jabber does pass on their private
> messages within the chat room using this format:
> 
> <message to="lobby at conference.localhost/qqq"
> from="lobby at conference.localhost/rob"><body>test</body></message>
> 
> But I need the other users in the system to no longer see the users who
> have left the room so this is no good!
> 
> (Note with my client the nickname in the chat room is the same as the
> Jabber username so mismatch of username is not the cause).
> 
> 
> 
> 
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mailman.jabber.org/listinfo/jdev

-- 
David Sutton
Email: dsutton at legend.co.uk
Jabber: peregrine at legend.net.uk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
URL: <http://mail.jabber.org/pipermail/jdev/attachments/20021024/82ba75be/attachment-0002.pgp>


More information about the JDev mailing list