0

I was working on ejabberd chat, I'm able to create multiple user chat room with command

sudo ejabberdctl create_room mychat localhost xmpp_domain

I want to know how to create that in virtual host as it is not being created in virtual host and how to add user of virtual host to it.

Farside
  • 9,923
  • 4
  • 47
  • 60
Ankit
  • 326
  • 1
  • 7
  • 18
  • your question is too general. Can you please narrow down the scope, what is you programming language preference, what have you tried so far... right now it's not possible to answer your question in a reasonable way. – Farside Jul 21 '16 at 19:45
  • @Farside Actually, I'm implementing it to use with django project and want to use ejabberd rest api to create multi user chat. Also, till now I've added `mod_muc_admin: {}` in ejabberd.yml file. So, I'm able to create multiple user chat room with command `sudo ejabberdctl create_room mychat localhost xmpp_domain` but I want to know how to create that in virtual host as it is not being created in virtual host and how to add user of virtual host to it. – Ankit Jul 21 '16 at 19:54
  • @Ankit what do u mean by "u want to create in a virtual host?" It's ambiguous. Please update your question with the things you have tried so far & the error u r getting in doing so – Hare Kumar Jul 22 '16 at 09:32
  • @Kumar I mean we have virtual host in ejabberd like localhost, under it we also have option of multi user chat, so under it I want to add users in a chat room. – Ankit Jul 22 '16 at 09:51
  • @Kumar Even if you could help in adding user as it is not under virtual host, it would be okay. – Ankit Jul 22 '16 at 09:52

0 Answers0