| 1 |
Welcome to the Multi-User Conferencing component for Jabber. |
| 2 |
------------------------------------------------------------ |
| 3 |
|
| 4 |
Introduction: |
| 5 |
--- |
| 6 |
|
| 7 |
This is based on the existing conference component, now designed |
| 8 |
to support XEP-0045 (http://www.xmpp.org/extensions/xep-0045.html) |
| 9 |
|
| 10 |
The currently existing components are conference v0.4 and conference-v2. |
| 11 |
These both implement the GroupChat protocol (gc-1.0) and a test |
| 12 |
conferencing protocol which never really was adopted. The aim of the XEP |
| 13 |
and this project was to take the gc-1.0 protocol and extend it to become |
| 14 |
a more flexible and featureful conferencing system, superceeding the |
| 15 |
implementations that came before. |
| 16 |
|
| 17 |
Thanks to Peter Saint-Andre for getting this cleanup done. |
| 18 |
Thanks to Alexey Shchepin for the support in tkabber during development |
| 19 |
Thanks to Paul Curtis for debug help, the JCR runtime and running the alpha copy for testing |
| 20 |
Thanks to Peter Millard for help debugging whilst adding support in Exodus |
| 21 |
|
| 22 |
Requirements: |
| 23 |
--- |
| 24 |
|
| 25 |
* You will need a copy of libglib-2, expat and libidn11 installed, along with the development package (for packaged based solutions, such as Debian, Mandrake and RedHat) |
| 26 |
* You will also need pkg-config |
| 27 |
|
| 28 |
|
| 29 |
New Features: |
| 30 |
--- |
| 31 |
Note: This is not an exhaustive list. For a complete overview of the feature |
| 32 |
set, check out the XEP link given in the introduction |
| 33 |
|
| 34 |
* Backward compatibility with gc-1.0 |
| 35 |
* User 'levels' (known as roles and affiliations) |
| 36 |
* Native Room logging |
| 37 |
* Dynamic room configuration |
| 38 |
* Moderated rooms |
| 39 |
* Password protected rooms |
| 40 |
* Non-anonymous rooms |
| 41 |
* Member-only rooms |
| 42 |
* Room bans |
| 43 |
* "Kick" user |
| 44 |
* Persistant reconfigurable rooms |
| 45 |
|
| 46 |
Comments: |
| 47 |
--- |
| 48 |
|
| 49 |
Unlike the original conference component, rooms can now be dynamically set public or private. |
| 50 |
|
| 51 |
* A Public room is a room which can be found by anyone browsing the conference component. |
| 52 |
|
| 53 |
* A Private room is a room which can only be browsed for by a user already in the room. |
| 54 |
|
| 55 |
Installation: |
| 56 |
--- |
| 57 |
|
| 58 |
Unpack it and type 'make' to build the mu-conference binary. |
| 59 |
|
| 60 |
|
| 61 |
Configuration: |
| 62 |
--- |
| 63 |
|
| 64 |
[Note: if you want this service to be accessible from other servers, |
| 65 |
change any 'conference.localhost' listed below to a fully |
| 66 |
qualified domain name!] |
| 67 |
|
| 68 |
|
| 69 |
* Enable your Jabber server to advertise the service to your users. |
| 70 |
|
| 71 |
On jabberd14 server it is done by adding the following line in the browse section of the jsm : |
| 72 |
|
| 73 |
-----8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<----- |
| 74 |
<item category="conference" type="public" jid="conference.localhost" name="Public Conferencing"> |
| 75 |
<ns>http://jabber.org/protocol/muc</ns> |
| 76 |
</item> |
| 77 |
-----8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<----- |
| 78 |
|
| 79 |
On jabberd2 server, there's nothing to do here. |
| 80 |
|
| 81 |
* Authorize the service to connect to the Jabber server. |
| 82 |
|
| 83 |
On jabberd14, this is done by adding the following section in the jabber.xml file: |
| 84 |
|
| 85 |
---8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<----- |
| 86 |
<service id="muclinker"> |
| 87 |
<host>conference.localhost</host> |
| 88 |
<accept> |
| 89 |
<ip>127.0.0.1</ip> |
| 90 |
<port>31518</port> |
| 91 |
<secret>secret</secret> |
| 92 |
</accept> |
| 93 |
</service> |
| 94 |
---8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<----- |
| 95 |
* Change the port and secret to your own preferences. |
| 96 |
|
| 97 |
On Jabberd2, you don't have to do anything, the default port to use is 5347, you must just set the <secret/> in the file router.xml |
| 98 |
|
| 99 |
* Copy the file muc-default.xml to muc.xml |
| 100 |
* Edit muc.xml, and ensure that the settings are the same as you defined in your jabber server configuration |
| 101 |
|
| 102 |
Settings: |
| 103 |
--- |
| 104 |
Global Settings: |
| 105 |
|
| 106 |
* The <public/> tag makes all rooms default to Public when first created. |
| 107 |
Simply remove this tag for rooms to default to Private |
| 108 |
|
| 109 |
* The <history> tag specifies the maximum number of lines to be held as a room |
| 110 |
history. |
| 111 |
|
| 112 |
* The <logdir> tag specifies the direction in which log files will be stored. |
| 113 |
The directory must exist, and will default to the current working directory. |
| 114 |
|
| 115 |
* The <defaults/> tag makes a room have defaults set up automatically, so the |
| 116 |
the room creator doesn't have to submit the configuration form to unlock |
| 117 |
the room. |
| 118 |
|
| 119 |
* The <roomlock/> tag stops users from creating any new rooms. Only persistent |
| 120 |
rooms will be created on startup. Note: the service admin (sadmin) is |
| 121 |
unaffected by this directive. This flag overrides the <defaults/> flag, if |
| 122 |
set. |
| 123 |
|
| 124 |
* The <dynamic/> tag specifies that no persistent rooms can be created. Rooms |
| 125 |
will exist only as long as there is at least one user in the room. Once a |
| 126 |
room is empty, the room will be destroyed after approximately 5 minutes. |
| 127 |
|
| 128 |
* The <persistent/> tag specifies that persistent rooms will be created |
| 129 |
rather than dynamic ones. This flag will override the <dynamic/> flag, if |
| 130 |
set. |
| 131 |
|
| 132 |
* The <sadmin> tag specifies users who are considered an owner of all rooms. |
| 133 |
You can specify multiple <user> tags. Each <user> tag must contain the bare |
| 134 |
jid of the user. |
| 135 |
|
| 136 |
* The <locknicks/> tag enforces that a user must use the name part of their |
| 137 |
jid as their nick. |
| 138 |
|
| 139 |
Notice Settings: |
| 140 |
|
| 141 |
* The <join> tag specifies the message shown when someone enters a room |
| 142 |
* The <leave> tag specifies the message shown when someone leaves a room |
| 143 |
* The <rename> tag specifies the message shown when someone changes their nick |
| 144 |
|
| 145 |
Note: All persistant rooms are now stored when created. This replaces the old system |
| 146 |
of configuring persistant rooms in the jabber.xml file |
| 147 |
|
| 148 |
Starting: |
| 149 |
--- |
| 150 |
|
| 151 |
o Start the mu-conference process, with the command: |
| 152 |
src/mu-conference -c muc.xml & |
| 153 |
|
| 154 |
--- |