ejabberd - Comments for "Accessing MUC information" https://www.ejabberd.im/node/4402 en maxi wrote: list all muc https://www.ejabberd.im/node/4402#comment-56821 <div class="quote-msg"> <div class="quote-author"><em>maxi</em> wrote:</div> <p>list all muc rooms and the number of occupants of each room. </p> <p>I'm using mod_rest as a starting point</p> <p>I was also looking at mod_muc_admin </p></div> <p>First install and enable mod_muc_admin.</p> <p>Second try the new ejabberd commands. In this example I have only 1 room, and only 1 occupant in that room:</p> <pre> $ ejabberdctl muc_online_rooms global room1@conference.localhost $ ejabberdctl get_room_occupants room1 conference.localhost badlop@localhost/tkab badlop moderator </pre><p> Third, install mod_rest</p> <p>Four, learn to execute ejabberd commands using mod_rest instead of ejabberdctl</p> <p>Five, run the muc commands using mod_rest</p> Fri, 19 Nov 2010 11:28:34 +0000 mfoss comment 56821 at https://www.ejabberd.im