diff --git a/jigasi.yml b/jigasi.yml index 8bc4dc1..f97279e 100644 --- a/jigasi.yml +++ b/jigasi.yml @@ -23,6 +23,7 @@ services: - BOSH_URL_PATTERN - ENABLE_AUTH - ENABLE_GUESTS + - ENABLE_VISITORS - XMPP_AUTH_DOMAIN - XMPP_GUEST_DOMAIN - XMPP_MUC_DOMAIN @@ -52,6 +53,9 @@ services: - JIGASI_HEALTH_CHECK_INTERVAL - JIGASI_SIP_KEEP_ALIVE_METHOD - JIGASI_ENABLE_SDES_SRTP + - JIGASI_VISITORS_QUEUE_SERVICE_URL + - JIGASI_VISITORS_QUEUE_SERVICE_PRIVATE_KEY_PATH + - JIGASI_VISITORS_QUEUE_SERVICE_PRIVATE_KEY_ID - SHUTDOWN_REST_ENABLED - SENTRY_DSN="${JIGASI_SENTRY_DSN:-0}" - SENTRY_ENVIRONMENT diff --git a/jigasi/rootfs/defaults/sipserver-sip-communicator.properties b/jigasi/rootfs/defaults/sipserver-sip-communicator.properties index 412c0e7..099d27f 100644 --- a/jigasi/rootfs/defaults/sipserver-sip-communicator.properties +++ b/jigasi/rootfs/defaults/sipserver-sip-communicator.properties @@ -1,3 +1,4 @@ +{{ $ENABLE_VISITORS := .Env.ENABLE_VISITORS | default "0" | toBool -}} {{ $JIGASI_XMPP_USER := .Env.JIGASI_XMPP_USER | default "jigasi" -}} {{ $XMPP_AUTH_DOMAIN := .Env.XMPP_AUTH_DOMAIN | default "auth.meet.jitsi" -}} {{ $XMPP_DOMAIN := .Env.XMPP_DOMAIN | default "meet.jitsi" -}} @@ -81,3 +82,16 @@ net.java.sip.communicator.impl.protocol.sip.acc1.USE_TRANSLATOR_IN_CONFERENCE=tr # Should be enabled when using translator mode net.java.sip.communicator.impl.neomedia.audioSystem.audiosilence.captureDevice_list=["AudioSilenceCaptureDevice:noTransferData"] {{ end }} + +{{ if $ENABLE_VISITORS -}} +org.jitsi.jigasi.ENABLE_SIP_VISITORS=true +{{ if .Env.JIGASI_VISITORS_QUEUE_SERVICE_URL -}} +org.jitsi.jigasi.VISITOR_QUEUE_SERVICE={{ .Env.JIGASI_VISITORS_QUEUE_SERVICE_URL }} +{{ end -}} +{{ if .Env.JIGASI_VISITORS_QUEUE_SERVICE_PRIVATE_KEY_PATH -}} +org.jitsi.jigasi.VISITOR_QUEUE_SERVICE_PRIVATE_KEY_PATH={{ .Env.JIGASI_VISITORS_QUEUE_SERVICE_PRIVATE_KEY_PATH }} +{{ end -}} +{{ if .Env.JIGASI_VISITORS_QUEUE_SERVICE_PRIVATE_KEY_ID -}} +org.jitsi.jigasi.VISITOR_QUEUE_SERVICE_PRIVATE_KEY_ID={{ .Env.JIGASI_VISITORS_QUEUE_SERVICE_PRIVATE_KEY_ID }} +{{ end -}} +{{ end -}}