From 11de38fca83e6dc6241bdb28a699c552aeac42c7 Mon Sep 17 00:00:00 2001 From: Charlie Calendre <57274151+c-cal@users.noreply.github.com> Date: Fri, 24 Jun 2022 02:13:20 +0200 Subject: [PATCH] fix: properly use default SIP config The default values for JIGASI_SIP_PORT and JIGASI_SIP_TRANSPORT were never used --- jigasi/rootfs/defaults/sip-communicator.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jigasi/rootfs/defaults/sip-communicator.properties b/jigasi/rootfs/defaults/sip-communicator.properties index 95024b8..a46d016 100644 --- a/jigasi/rootfs/defaults/sip-communicator.properties +++ b/jigasi/rootfs/defaults/sip-communicator.properties @@ -21,7 +21,7 @@ net.java.sip.communicator.packetlogging.PACKET_LOGGING_ENABLED=false # SIP account net.java.sip.communicator.impl.protocol.sip.acc1=acc1 -{{ if and .Env.JIGASI_SIP_PORT .Env.JIGASI_SIP_TRANSPORT }} +{{ if .Env.JIGASI_SIP_SERVER }} net.java.sip.communicator.impl.protocol.sip.acc1.PROXY_ADDRESS={{ .Env.JIGASI_SIP_SERVER }} net.java.sip.communicator.impl.protocol.sip.acc1.PROXY_AUTO_CONFIG=false net.java.sip.communicator.impl.protocol.sip.acc1.PROXY_PORT={{ .Env.JIGASI_SIP_PORT | default "5060" }}