diff --git a/jicofo/rootfs/defaults/jicofo.conf b/jicofo/rootfs/defaults/jicofo.conf index cd7c0d2..038d0fa 100644 --- a/jicofo/rootfs/defaults/jicofo.conf +++ b/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 {