jicofo: fix ENABLE_SCTP type

pull/1000/head
Saúl Ibarra Corretgé 4 years ago
parent 953a4d2425
commit 6c4dce1622
  1. 5
      jicofo/rootfs/defaults/jicofo.conf

@ -1,4 +1,5 @@
{{ $ENABLE_AUTH := .Env.ENABLE_AUTH | default "0" | toBool }}
{{ $ENABLE_SCTP := .Env.ENABLE_SCTP | default "0" | toBool }}
{{ $AUTH_TYPE := .Env.AUTH_TYPE | default "internal" }}
{{ $ENABLE_RECORDING := .Env.ENABLE_RECORDING | default "0" | toBool }}
@ -116,11 +117,9 @@ jicofo {
id = "{{ .Env.JICOFO_SHORT_ID | default "1" }}"
}
{{ if .Env.ENABLE_SCTP }}
sctp {
enabled = "{{ .Env.ENABLE_SCTP }}"
enabled = {{ $ENABLE_SCTP }}
}
{{ end }}
xmpp {
client {

Loading…
Cancel
Save