Jabberd-Conference

From YobiWiki
Jump to navigation Jump to search

http://mu-conference.jabberstudio.org/

cd jabberd/jabber-1.4.2a
wget http://files.jabberstudio.org/mu-conference/muconference-0.3.tar.gz
tar -xzvf muconference-0.3.tar.gz
cd mu-conference
make -> src/mu-conference.so
mkdir /var/lib/jabber/conference
cp src/mu-conference.so /var/lib/jabber/conference

Ajouter dans /etc/jabber/jabber.xml, section <browse>:

       <item category="conference" type="public" jid="conference.reseaucitoyen.be" name="Agoras publiques" version="0.3">
         <ns>jabber:iq:register</ns>
         <ns>gc-1.0</ns>
         <ns>http://jabber.org/protocol/muc</ns>
       </item>
       <item category="conference" type="private" jid="conference.reseaucitoyen.be" name="Agoras privees" version="0.3">
         <ns>jabber:iq:register</ns>
         <ns>gc-1.0</ns>
         <ns>http://jabber.org/protocol/muc</ns>
       </item>

Ajouter dans /etc/jabber/jabber.xml, dans la liste des <service>:

 <service id='conference.reseaucitoyen.be'>
   <load>
     <conference>/var/lib/jabber/conference/mu-conference.so</conference>
   </load>
   <conference xmlns="jabber:config:conference">
     <public/>
     <vCard>
       <FN>Agoras publiques</FN>
       <DESC>Ce service fournit des groupes de discussions publics</DESC>
     </vCard>
     <history>20</history>
     <logdir>/var/log/jabber/</logdir>
     <dynamic/>
     <notice>
       <join>est maintenant en ligne</join>
       <leave>est parti</leave>
       <rename>se nomme maintenant</rename>
     </notice>
   </conference>
 </service>

Et pour la meme chose en prive: enlever simplement la balise <public/>