|
@@ -12,6 +12,8 @@
|
|
{{ $SHUTDOWN_REST_ENABLED := .Env.SHUTDOWN_REST_ENABLED | default "false" | toBool -}}
|
|
{{ $SHUTDOWN_REST_ENABLED := .Env.SHUTDOWN_REST_ENABLED | default "false" | toBool -}}
|
|
{{ $DISABLE_SIP := .Env.JIGASI_DISABLE_SIP | default "false" | toBool -}}
|
|
{{ $DISABLE_SIP := .Env.JIGASI_DISABLE_SIP | default "false" | toBool -}}
|
|
{{/* assign env from context, preserve during range when . is re-assigned */}}
|
|
{{/* assign env from context, preserve during range when . is re-assigned */}}
|
|
|
|
+{{ $TRUSTED_DOMAIN_LIST := .Env.JIGASI_TRUSTED_DOMAINS | default "" -}}
|
|
|
|
+{{ $TRUSTED_DOMAINS := splitList "," $TRUSTED_DOMAIN_LIST -}}
|
|
{{ $ENV := .Env -}}
|
|
{{ $ENV := .Env -}}
|
|
|
|
|
|
net.java.sip.communicator.impl.protocol.SingleCallInProgressPolicy.enabled=false
|
|
net.java.sip.communicator.impl.protocol.SingleCallInProgressPolicy.enabled=false
|
|
@@ -180,3 +182,8 @@ org.jitsi.jigasi.DEFAULT_JVB_ROOM_NAME={{ .Env.JIGASI_SIP_DEFAULT_ROOM }}
|
|
{{ end }}
|
|
{{ end }}
|
|
|
|
|
|
org.jitsi.jigasi.MUC_SERVICE_ADDRESS={{ $XMPP_MUC_DOMAIN }}
|
|
org.jitsi.jigasi.MUC_SERVICE_ADDRESS={{ $XMPP_MUC_DOMAIN }}
|
|
|
|
+
|
|
|
|
+# when checking other participants whether they are jibri/jigasi we can also check the the domain they use for connecting
|
|
|
|
+{{ if $TRUSTED_DOMAIN_LIST }}
|
|
|
|
+org.jitsi.jigasi.TRUSTED_DOMAINS=[ {{ range $index, $element := $TRUSTED_DOMAINS }}{{ if gt $index 0 }},{{ end }}"{{ $element }}"{{ end}} ]
|
|
|
|
+{{ end }}
|