Project

General

Profile

muc question

Raylin lin
Added about 5 years ago

hi all:

 I build tigase(5.3)and muc(2.2.0) myself. and use spark for test. I use UserA to create a room,and UserB can found this room,but when UserB try to enter, there return a error "the room you are trying to enter does not exist".please  tell me if my configs are wrong for MUC. thank you.

the tigase.log.0 look like this:

2014-02-21 11:48:12.648 [in_8-sess-man] SessionManager.getResourceConnection() FINEST: Found session: user_jid=test5@192.168.1.120/Spark 2.6.3, packets=157, connectioId=c2s@chengxin.honestyserver/192.168.1.120_5222_192.168.1.16_49266, domain=192.168.1.120, authState=AUTHORIZED, isAnon=false, isTmp=false, for jid: test5@192.168.1.120/Spark 2.6.3C

2014-02-21 11:48:12.648 [in_8-sess-man] SessionManager.processPacket() FINEST: processing packet: from=room1@muc.192.168.1.120/test52, to=sess-man@chengxin.honestyserver, DATA=, SIZE=282, XMLNS=jabber:client, PRIORITY=PRESENCE, PERMISSION=NONE, TYPE=error, connection: user_jid=test5@192.168.1.120/Spark 2.6.3, packets=157, connectioId=c2s@chengxin.honestyserver/192.168.1.120_5222_192.168.1.16_49266, domain=192.168.1.120, authState=AUTHORIZED, isAnon=false, isTmp=false

2014-02-21 11:48:12.648 [in_8-sess-man] SessionManager.walk() FINEST: XMPPProcessorIfc: Presence (presence)Request: from=room1@muc.192.168.1.120/test52, to=sess-man@chengxin.honestyserver, DATA=<presence xmlns="jabber:client" from


Replies (2)

Added by Raylin lin about 5 years ago

I removed "#" before "muc/muc-lock-new-room[B]=false" and it work now. another question: We need such a function: the new member need to ask a request to enter the specified. and the room keeper can accept or refuse this request. the current muc function looks like that:other user can enter any room without any request to the room keeper. thank you.

Avatar?id=6023&size=32x32

Added by Artur Hefczyc TigaseTeam about 5 years ago

MUC offers various options for manage and allow users entering the room. Room can be password protected, room can be for invitation only, etc... For details please refer to either the MUC spec or have a look at various options for MUC room configuration.

It is all supported by our MUC implementation.

    (1-2/2)