Skip to content

Commit 81dc384

Browse files
authored
jigasi: allow jigasi guest participants
Co-authored-by: Werner Fleischer <[email protected]>
1 parent a8a596b commit 81dc384

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

jigasi.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ services:
1212
- ${CONFIG}/transcripts:/tmp/transcripts:Z
1313
environment:
1414
- ENABLE_AUTH
15+
- ENABLE_GUESTS
1516
- XMPP_AUTH_DOMAIN
17+
- XMPP_GUEST_DOMAIN
1618
- XMPP_MUC_DOMAIN
1719
- XMPP_INTERNAL_MUC_DOMAIN
1820
- XMPP_SERVER

jigasi/rootfs/defaults/sip-communicator.properties

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,9 +116,14 @@ org.jitsi.jigasi.xmpp.acc.IM_DISABLED=true
116116
org.jitsi.jigasi.xmpp.acc.SERVER_STORED_INFO_DISABLED=true
117117
org.jitsi.jigasi.xmpp.acc.IS_FILE_TRANSFER_DISABLED=true
118118
{{ if .Env.ENABLE_AUTH | default "0" | toBool }}
119+
{{ if .Env.ENABLE_GUESTS | default "0" | toBool }}
120+
org.jitsi.jigasi.xmpp.acc.USER_ID={{ .Env.JIGASI_XMPP_USER }}@{{ .Env.XMPP_GUEST_DOMAIN }}
121+
org.jitsi.jigasi.xmpp.acc.ANONYMOUS_AUTH=true
122+
{{ else }}
119123
org.jitsi.jigasi.xmpp.acc.USER_ID={{ .Env.JIGASI_XMPP_USER }}@{{ .Env.XMPP_AUTH_DOMAIN }}
120-
org.jitsi.jigasi.xmpp.acc.PASS={{ .Env.JIGASI_XMPP_PASSWORD }}
121124
org.jitsi.jigasi.xmpp.acc.ANONYMOUS_AUTH=false
125+
{{ end }}
126+
org.jitsi.jigasi.xmpp.acc.PASS={{ .Env.JIGASI_XMPP_PASSWORD }}
122127
org.jitsi.jigasi.xmpp.acc.ALLOW_NON_SECURE=true
123128
{{ end }}
124129

0 commit comments

Comments
 (0)