fix: properly use default SIP config

The default values for JIGASI_SIP_PORT and JIGASI_SIP_TRANSPORT were never used
pull/1170/head
Charlie Calendre 2 years ago committed by Saúl Ibarra Corretgé
parent 82a53821c0
commit 11de38fca8
  1. 2
      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" }}

Loading…
Cancel
Save