need clarification

hi,

totally new to ejabberd, but masterd install it on deb5 + mysql. and its working. here my questions: the way i see it, the default room per host is called "conference", this is so to speak the main-lobby.
- yes or no?

b) as per here, i can repeat that endlessly to get more "lobbies". my ultimate goal woould be to have multiple usergroups all assigned to one lobby:
- y or no?
%% now configure the chat-only hosts
{host_config, "poker.example.com", [{
{add, modules},
[
{mod_muc, [
%% THIS HAS TO BE A SUBDOMAIN, THINGS WON'T WORK
%% IF YOU JUST USE @HOST@ HERE.
{host, "muc.@HOST@"},
{access, muc},
{access_create, muc},
{access_persistent, muc},
{access_admin, muc_admin}
]}
]
}]}.

c) each lobby, can if confugred, contain multiple rooms
- y / no?

d) what is a "chat"? using a client, i have to discover the service aka the lobby and create within that a chat and within that a room.
- y / n ?

e) if d) can i somehow specify who can create chatrooms and who not?

thx
so far!

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Preliminary: in addition to

Preliminary: in addition to the ejabberd Guide, you will find http://xmpp.org/extensions/xep-0045.html very useful.

tom12 wrote:

the way i see it, the default room per host is called "conference", this is so to speak the main-lobby.
- yes or no?

Yes, the default name for a MUC service in ejabberd is "conference.DOMAIN".

tom12 wrote:

b) as per here, i can repeat that endlessly to get more "lobbies". my ultimate goal woould be to have multiple usergroups all assigned to one lobby:
- y or no?
%% now configure the chat-only hosts
{host_config, "poker.example.com", [{
{add, modules},
[
{mod_muc, [
%% THIS HAS TO BE A SUBDOMAIN, THINGS WON'T WORK
%% IF YOU JUST USE @HOST@ HERE.
{host, "muc.@HOST@"},
{access, muc},
{access_create, muc},
{access_persistent, muc},
{access_admin, muc_admin}
]}
]
}]}.

Yes, but remember: in ejabberd, each xmpp host can only have one mod_muc running. So, poker.example.com can only have one mod_muc, that you called "muc.poker.example.com".

Of course, in that MUC service you can have many rooms.

tom12 wrote:

c) each lobby, can if confugred, contain multiple rooms
- y / no?

Right, a MUC service can have many MUC rooms. Like an IRC server can have many IRC channels.

tom12 wrote:

d) what is a "chat"? using a client, i have to discover the service aka the lobby and create within that a chat and within that a room.
- y / n ?

I think that in this context all those terms refer to the same: chat = room = chatroom = MUC room

tom12 wrote:

e) if d) can i somehow specify who can create chatrooms and who not?

Yes. In mod_muc see the option access_create. Check the ejabberd Guide.

Syndicate content