I'm trying to configure multi-user chat for ejabberd on Centos 5. I just can't get it working.
I can use Psi to create a group chat room, but don't seem able to join it from another account.
I installed ejabberd from an rpm and have basically just configured the host name.
User-to-user instant messaging works, but not MUC. I've open ports 5222 and 5223 for SSL. Does MUC run over a different port or something?
Also, when I create the chat room on one client, I have to use service discovery in another client, and try specific nodes 1 through to 5. This is only going to be used for a small corporate messaging system, so is there anyway to get ejabberd to only create 1 node?
It would be best to see your actual configuration, but MUCs normally have to be enabled as services. The service discovery is indeed the way to discover the MUC service and browse chat rooms, but the client should be able to bookmark them or put them on the roster for use next time.
Anyway, in
/etc/ejabberd/ejabberd.cfg
have you enabledmod_muc
? If so, could you paste the settings. On my ejabberd server I use:In your access rules you should also include:
It works perfectly fine for me this way. Of course you may not want the log files or so, just adjust the respective settings. The ejabberd homepage has a thorough documentation of the available options.