MUC support

Can somebody send me functionally configuration to MUC support?
Then i used to defaults, i can connect to MUC from my account created on this server only (@myserver.net), but i cant connect from another server (@jabber.org).

specify MUC JID

Try setting 'host' option in the mod_muc module. For example, if you have

  {mod_muc,        [{access, muc},
		    {access_create, muc},
		    {access_admin, muc_admin}]},
put this:
  {mod_muc,        [{access, muc},
		    {access_create, muc},
		    {access_admin, muc_admin},
		    {host, "conf.myserver.net"}]},

Can't conference to remote server

I have added the remote server to DNS and tried all the combinations of mod_muc configuration. I still cannot conference to a remote server.

Example:

My server is a.b.c (ejabberd)
Foreign server is x.y.z (unknown server)

I have added conference.x.y.z to my hosts file on a.b.c. I have added {host, "conference.a.b.c"} and {host, "conference.x.y.z"} to mod_muc options on a.b.c.

User on x.y.z creates and joins testme@conference.x.y.z.
User on a.b.c attempts to join testme@conference.x.y.z, gets 404, Remote server not found.

User on a.b.c creates and joins testme@conference.a.b.c
User on x.y.z attempts to join testme@conference.a.b.c, gets 502, Remote server timed out.

Any ideas?

I have added conference.x.y.z

I have added conference.x.y.z to my hosts file on a.b.c.

Some people say that this is important, but I never did this and everything has worked for me.

I have added {host, "conference.a.b.c"}

This option is to specify a name for your local conference service, so it has no relation with the current problem, I think.

and {host, "conference.x.y.z"} to mod_muc options on a.b.c.

This is nonsense.

Try other things:

  • On a.b.c: can you browse/discover other servers, for example jabber.ru (uses ejabberd) and seunet.org (uses jabberd1)?
  • If you can browse those servers, can you use their conference service (view list of rooms, enter one, create one...)?
  • On x.y.z: can you browse/discover a.b.c?
  • If yes, can you add an a.b.c user on your x.y.z account and chat with him?

More conference

I cannot browse outside our firewall, so I can't see jabber.ru.

From a.b.c, I can discover x.y.z, but I get "Error getting items: Unrecoverable Error (Item Not Found). This is using tkabber. I do not know for sure what type of server is x.y.z. I think it is possibly jabberd 2. It identifies itself in discover as "Jabber IM server."

From x.y.z, using tkabber, I can discover a.b.c and I can see conference.a.b.c, but when I double-click that item in tkabber, I get "Error getting info: Temporary Error (Remote Server Timeout)"

Chat from users on either system to either system works fine. Only conferencing from system to system does not work.

Re: MUC support

Add conference.myserver.net to DNS.

Syndicate content