prosody: add end conference
Co-authored-by: Werner Fleischer <70745309+wernf@users.noreply.github.com>
This commit is contained in:
@@ -164,6 +164,7 @@ services:
|
|||||||
- ENABLE_AUTH
|
- ENABLE_AUTH
|
||||||
- ENABLE_AV_MODERATION
|
- ENABLE_AV_MODERATION
|
||||||
- ENABLE_BREAKOUT_ROOMS
|
- ENABLE_BREAKOUT_ROOMS
|
||||||
|
- ENABLE_END_CONFERENCE
|
||||||
- ENABLE_GUESTS
|
- ENABLE_GUESTS
|
||||||
- ENABLE_IPV6
|
- ENABLE_IPV6
|
||||||
- ENABLE_LOBBY
|
- ENABLE_LOBBY
|
||||||
|
|||||||
@@ -16,6 +16,7 @@
|
|||||||
{{ $ENABLE_LOBBY := .Env.ENABLE_LOBBY | default "true" | toBool }}
|
{{ $ENABLE_LOBBY := .Env.ENABLE_LOBBY | default "true" | toBool }}
|
||||||
{{ $ENABLE_AV_MODERATION := .Env.ENABLE_AV_MODERATION | default "true" | toBool }}
|
{{ $ENABLE_AV_MODERATION := .Env.ENABLE_AV_MODERATION | default "true" | toBool }}
|
||||||
{{ $ENABLE_BREAKOUT_ROOMS := .Env.ENABLE_BREAKOUT_ROOMS | default "true" | toBool }}
|
{{ $ENABLE_BREAKOUT_ROOMS := .Env.ENABLE_BREAKOUT_ROOMS | default "true" | toBool }}
|
||||||
|
{{ $ENABLE_END_CONFERENCE := .Env.ENABLE_END_CONFERENCE | default "true" | toBool }}
|
||||||
{{ $ENABLE_XMPP_WEBSOCKET := .Env.ENABLE_XMPP_WEBSOCKET | default "1" | toBool }}
|
{{ $ENABLE_XMPP_WEBSOCKET := .Env.ENABLE_XMPP_WEBSOCKET | default "1" | toBool }}
|
||||||
{{ $ENABLE_JAAS_COMPONENTS := .Env.ENABLE_JAAS_COMPONENTS | default "0" | toBool }}
|
{{ $ENABLE_JAAS_COMPONENTS := .Env.ENABLE_JAAS_COMPONENTS | default "0" | toBool }}
|
||||||
{{ $PUBLIC_URL := .Env.PUBLIC_URL | default "https://localhost:8443" -}}
|
{{ $PUBLIC_URL := .Env.PUBLIC_URL | default "https://localhost:8443" -}}
|
||||||
@@ -147,6 +148,9 @@ VirtualHost "{{ $XMPP_DOMAIN }}"
|
|||||||
"ping";
|
"ping";
|
||||||
"speakerstats";
|
"speakerstats";
|
||||||
"conference_duration";
|
"conference_duration";
|
||||||
|
{{ if $ENABLE_END_CONFERENCE }}
|
||||||
|
"end_conference";
|
||||||
|
{{ end }}
|
||||||
{{ if or .Env.TURN_HOST .Env.TURNS_HOST }}
|
{{ if or .Env.TURN_HOST .Env.TURNS_HOST }}
|
||||||
"external_services";
|
"external_services";
|
||||||
{{ end }}
|
{{ end }}
|
||||||
@@ -180,7 +184,7 @@ VirtualHost "{{ $XMPP_DOMAIN }}"
|
|||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ if $PROSODY_RESERVATION_ENABLED }}
|
{{ if $PROSODY_RESERVATION_ENABLED }}
|
||||||
reservations_api_prefix = "{{ $PROSODY_RESERVATION_REST_BASE_URL }}"
|
reservations_api_prefix = "{{ $PROSODY_RESERVATION_REST_BASE_URL }}"
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ if $ENABLE_BREAKOUT_ROOMS }}
|
{{ if $ENABLE_BREAKOUT_ROOMS }}
|
||||||
@@ -190,6 +194,10 @@ VirtualHost "{{ $XMPP_DOMAIN }}"
|
|||||||
speakerstats_component = "speakerstats.{{ $XMPP_DOMAIN }}"
|
speakerstats_component = "speakerstats.{{ $XMPP_DOMAIN }}"
|
||||||
conference_duration_component = "conferenceduration.{{ $XMPP_DOMAIN }}"
|
conference_duration_component = "conferenceduration.{{ $XMPP_DOMAIN }}"
|
||||||
|
|
||||||
|
{{ if $ENABLE_END_CONFERENCE }}
|
||||||
|
end_conference_component = "endconference.{{ .Env.XMPP_DOMAIN }}"
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
{{ if $ENABLE_AV_MODERATION }}
|
{{ if $ENABLE_AV_MODERATION }}
|
||||||
av_moderation_component = "avmoderation.{{ $XMPP_DOMAIN }}"
|
av_moderation_component = "avmoderation.{{ $XMPP_DOMAIN }}"
|
||||||
{{ end }}
|
{{ end }}
|
||||||
@@ -276,6 +284,11 @@ Component "speakerstats.{{ $XMPP_DOMAIN }}" "speakerstats_component"
|
|||||||
Component "conferenceduration.{{ $XMPP_DOMAIN }}" "conference_duration_component"
|
Component "conferenceduration.{{ $XMPP_DOMAIN }}" "conference_duration_component"
|
||||||
muc_component = "{{ $XMPP_MUC_DOMAIN }}"
|
muc_component = "{{ $XMPP_MUC_DOMAIN }}"
|
||||||
|
|
||||||
|
{{ if $ENABLE_END_CONFERENCE }}
|
||||||
|
Component "endconference.{{ .Env.XMPP_DOMAIN }}" "end_conference"
|
||||||
|
muc_component = "{{ .Env.XMPP_MUC_DOMAIN }}"
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
{{ if $ENABLE_AV_MODERATION }}
|
{{ if $ENABLE_AV_MODERATION }}
|
||||||
Component "avmoderation.{{ $XMPP_DOMAIN }}" "av_moderation_component"
|
Component "avmoderation.{{ $XMPP_DOMAIN }}" "av_moderation_component"
|
||||||
muc_component = "{{ $XMPP_MUC_DOMAIN }}"
|
muc_component = "{{ $XMPP_MUC_DOMAIN }}"
|
||||||
|
|||||||
Reference in New Issue
Block a user