please tell me how CORRECTLY create shared rooster groups in server

Hi ALL!

please tell, how CORRECTLY create shared rooster groups in server by script?
I want to create few groups using this cmd from ejabberd error message:

ejabberdctl srg_create group3 localhost name desc \"group1\\ngroup2\"

but groups filled as:

"group1
group2"
  • 1. Could you tell the right syntax in describing visible groups?
  • 2. How fill field desc (in sample above) with more than 1 word, like "Managers group 3"?
  • 3. How fill field desc with non Latin/English characters, for example in russian, "Группа менеджеров 3"?
  • 1. The command explanation

    1. The command explanation seems obsolete. This works for me, try it and tell me:
    ejabberdctl srg_create group3 localhost name desc "group1\\ngroup2"

    2. This works for me:
    ejabberdctl srg_create group3 localhost name "Managers group 3" "group1\\ngroup2"

    3. Quite simply:
    ejabberdctl srg_create group3 localhost name "Группа менеджеров 3" "group1\\ngroup2"

    Notice: I'm using ejabberd master git, compiled with Erlang/OTP 17 in Debian.

    Use this command it works

    Use this command it works perfectly

    sudo ejabberdctl srg_create friends localhost vipul "my friend list" "my best friends"

    Syndicate content