Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8893537
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T23:16:22+00:00 2026-06-14T23:16:22+00:00

I have the following setup: A server with CentOS 6 XMPP server (used ejabber)

  • 0

I have the following setup:

  • A server with CentOS 6
  • XMPP server (used ejabber)
  • A browser client (used Candy-chat)
  • Chat is working, users have permissions, etc.

What I need to do is to create a room when user X wants to. If the user uses a stand alone client (like Pidgin) everything is ok but I need to create a room using a browser based client.

The question is how do I do that?

Note: Tried to find a client that supports the feature – failed.

Note 2: It is ok if I can do it from server command line (shell script) since I can send an ajax request to a php script that runs the line. – I tried to use ejabberdctl for this but I couldn’t find any functions that do that (found 9999 functions about users, server, etc. but nothing regarding rooms. I guess I must edit the mod_muc options then restart the server but I’m not sure and is not right for all users to restart server).

Thank you for your time.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T23:16:23+00:00Added an answer on June 14, 2026 at 11:16 pm

    See http://xmpp.org/extensions/xep-0045.html#createroom

    XEP-0045 define the Multi-User Chat protocol in XMPP. You don’t need to use the command line or any other out-of-band communication, the protocol is already defined and works in-band in the user XMPP session. This is what any Jabber client that supports chat rooms implements.

    Note that the protocol itself is long, complex and has many options and alternatives (to configure the room parameters, affiliations, do administration work, etc), but you don’t have to use all of them, see Example 153, just

    <presence from='crone1@shakespeare.lit/desktop'to='coven@chat.shakespeare.lit/firstwitch'>
       <x xmlns='http://jabber.org/protocol/muc'/>
    </presence>
    

    will be enough to create room “coven”. After that user “crone1” will be the owner of that room, and will be logged in the room with nick “firstwitch”.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Trying to setup a server on Rackspace.com. Have done the following things: Installed Centos
I have the following setup: A server (centOS) with git and a repository for
I have the following setup: Host C is the client that runs a browser.
Let's say you have the following setup. You have a server with the basepath
I have the following setup: Sharepoint 2010 with SQL Server and Office 2010. This
Hi stackoverflow users. My server setup is the following: A webserver with access on
I have the following setup: The server will connect via Bluetooth to several devices
I'm doing some testing with WCF and we currently have the following Server setup
Let's say I have the following tables setup in SQL Server (2008) Is there
I have the following setup: Dedicated server --> Internet --> Modem (telenet) --> Router

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.