Moderatoren einrichten über Prosody

Prosody Konfigurieren

Als erstes steuert ihr eure /etc/prosody/conf.avail/Deine_Domain.cfg.lua an und ändert in von

„jitsi-anonymus“ in „internal_plain“ um.

Copy to clipboard
 authentication = "internal_plain"

Darunter fügt ihr einen Absatz ein, der Gäste zulässt.

Copy to clipboard
VirtualHost "guest.meet.Deine_Domain.de
    authentication = "anonymous"
    c2s_require_encryption = true

Jitsi-Meet Gäste Domain

Als nächstes gehen wir in die Jitsi-Meet config.js, um die Gäste Doamin zu aktivieren.

Diese liegt meist bei /etc/jitsi/meet 

Es ist wichtig das ihr die // weg nehmt, damit das System erkennt das diese Funktion aktiviert ist bzw lesbar ist.

Copy to clipboard
hosts: {
        // XMPP domain.
        domain: 'meet.Deine_Domain.de',

        // When using authentication, domain for guest users.
        anonymousdomain: 'guest.meet.Deine_Domain.de',

        // Domain for authenticated users. Defaults to <domain>.
        authdomain: 'meet.Deine_Domain.de',

        // Focus component domain. Defaults to focus.<domain>.
        focus: 'focus.meet.Deine_Domain.de',

        // XMPP MUC domain. FIXME: use XEP-0030 to discover it.
        muc: 'conference.' + subdomain + 'meet.Deine_Domain.de',
    },

Jicofo auth

 

Jicofo muss nun noch mit der auth Domain erweitert werden.

Copy to clipboard
jicofo {
  authentication: {
    enabled: true
    type: XMPP
    login-url: "jitsi.Deine_Domain.de"
  }
}

 

In meinem Fall sieht das so aus.

Copy to clipboard
# Jicofo HOCON configuration. See reference.conf in /usr/share/jicofo/jicofo.jar for
#available options, syntax, and default values.
jicofo {
  xmpp: {
    client: {
      client-proxy: "focus.meet.Deine_Domain.de"
      xmpp-domain: "meet.Deine_Domain.de"
      domain: "auth.meet.Deine_Domain.de"
      username: "focus"
      password: "geheim"
    }
    trusted-domains: [ "recorder.meet.Deine_Domain.de" ]
  }
authentication {
        enabled = true
        type = XMPP
        login-url = "meet.Deine_Domain.de"
    }
  bridge: {
    brewery-jid: "JvbBrewery@internal.auth.meet.Deine_Domain.de"
  }
}

User Hinzufügen

Wir reloaden erstmal alle Module, um Problemen aus dem weg zu gehen

Copy to clipboard
systemctl restart prosody
systemctl restart jicofo
systemctl restart jitsi-videobridge2

Als letzten Schritt fügen wir uns nun als Moderator/Member hinzu.

Ihr werdet nach einem Passwort und einer bestätigung gebeten.

Copy to clipboard
 sudo prosodyctl adduser admin@meet.Deine_Domain.de

Ihr bekommt eine Bestätigung die wie folgt aussieht

Copy to clipboard
OK: Created admin@meet.Deine_Domain.de with role 'prosody:member'

Share this content: