[ejabberd] Multiple MUC configurations

Kirk Bateman kirk.bateman at gmail.com
Tue Sep 17 13:00:00 MSK 2013


I've done the same in the past using mod_muc for one and palaver as an
external component for the second.

A more up to date alternative may be to use pubsub for the events /
notifications and muc for the usual chatroom.

Just a thought.

Kirk Bateman
On 17 Sep 2013 09:52, "Michael Weibel" <michael.weibel at gmail.com> wrote:

> Hi Robert,
>
> I think you should be able to do this using virtual host configuration:
> http://www.process-one.net/docs/ejabberd/guide_en.html#htoc22
>
> - Michael
>
> Am 17.09.2013 um 10:36 schrieb Robert Larsen <robert at komogvind.dk>:
>
> > Hey
> >
> > I would like to have MUC configured twice on the same server. I work
> > with casual gaming and we would like to push game events (new game
> > version, new highscore, etc.) through a game specific chatroom. At the
> > same time we want our users to be able to chat, so to keep things
> > elegant we would like to have a chatroom for user chat and a room for
> > game events and have them separated...something like having
> > 'mygame at conference.mydomain.com' for user chat and
> > 'mygame at games.mydomain.com' for game events. Openfire lets me do that
> > but we use ejabberd for production.
> >
> > I tried this:
> > ...
> >  {mod_muc,      [
> >          {host, "conference. at HOST@"},
> >          {access, muc},
> >          {access_create, muc_create},
> >          {access_persistent, muc_create},
> >          {access_admin, muc_admin},
> >          {allow_visitor_nickchange,false}
> >          ]},
> >  {mod_muc,      [
> >          {host, "games. at HOST@"},
> >          {access, muc},
> >          {access_create, muc_create},
> >          {access_persistent, muc_create},
> >          {access_admin, muc_admin},
> >          {allow_visitor_nickchange,false}
> >          ]},
> > ...
> >
> > ...and ejabberd accepts it and shows the two services when using service
> > discovery. However I cannot communicate with the one that is first in
> > the configuration. I can see that 'conference.mydomain.com' is in the
> > list but sending a info/items request I am replied with a
> > service-unavailable error.
> >
> > So, my question is this. Is there a way of having two MUC subdomains on
> > the same server?
> >
> > _______________________________________________
> > ejabberd mailing list
> > ejabberd at jabber.ru
> > http://lists.jabber.ru/mailman/listinfo/ejabberd
>
> _______________________________________________
> ejabberd mailing list
> ejabberd at jabber.ru
> http://lists.jabber.ru/mailman/listinfo/ejabberd
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.jabber.ru/pipermail/ejabberd/attachments/20130917/204a178b/attachment.html>


More information about the ejabberd mailing list