jicofo: only configure Jigasi brewery if Jigasi is configured

Otherwise conferene.isSIPCallingSupported() will return true.
pull/346/head
Saúl Ibarra Corretgé 5 years ago
parent 40c2920dab
commit 7c0c795fa7
  1. 1
      docker-compose.yml
  2. 2
      jicofo/rootfs/defaults/sip-communicator.properties

@ -122,6 +122,7 @@ services:
- JICOFO_RESERVATION_REST_BASE_URL - JICOFO_RESERVATION_REST_BASE_URL
- JVB_BREWERY_MUC - JVB_BREWERY_MUC
- JIGASI_BREWERY_MUC - JIGASI_BREWERY_MUC
- JIGASI_SIP_URI
- JIBRI_BREWERY_MUC - JIBRI_BREWERY_MUC
- JIBRI_PENDING_TIMEOUT - JIBRI_PENDING_TIMEOUT
- TZ - TZ

@ -6,7 +6,7 @@ org.jitsi.jicofo.jibri.BREWERY={{ .Env.JIBRI_BREWERY_MUC}}@{{ .Env.XMPP_INTERNAL
org.jitsi.jicofo.jibri.PENDING_TIMEOUT={{ .Env.JIBRI_PENDING_TIMEOUT }} org.jitsi.jicofo.jibri.PENDING_TIMEOUT={{ .Env.JIBRI_PENDING_TIMEOUT }}
{{ end }} {{ end }}
{{ if .Env.JIGASI_BREWERY_MUC }} {{ if and .Env.JIGASI_SIP_URI .Env.JIGASI_BREWERY_MUC }}
org.jitsi.jicofo.jigasi.BREWERY={{ .Env.JIGASI_BREWERY_MUC}}@{{ .Env.XMPP_INTERNAL_MUC_DOMAIN }} org.jitsi.jicofo.jigasi.BREWERY={{ .Env.JIGASI_BREWERY_MUC}}@{{ .Env.XMPP_INTERNAL_MUC_DOMAIN }}
{{ end }} {{ end }}

Loading…
Cancel
Save