|
|
|
@ -1,4 +1,7 @@ |
|
|
|
|
{{ $XMPP_PORT := .Env.XMPP_PORT | default "5222" -}} |
|
|
|
|
{{ $XMPP_SERVERS := splitList "," .Env.XMPP_SERVER -}} |
|
|
|
|
{{/* assign env from context, preserve during range when . is re-assigned */}} |
|
|
|
|
{{ $ENV := .Env -}} |
|
|
|
|
|
|
|
|
|
net.java.sip.communicator.impl.protocol.SingleCallInProgressPolicy.enabled=false |
|
|
|
|
|
|
|
|
@ -62,48 +65,51 @@ net.java.sip.communicator.impl.protocol.sip.acc1.OVERRIDE_ENCODINGS=true |
|
|
|
|
net.java.sip.communicator.impl.protocol.sip.acc1.DOMAIN_BASE={{ .Env.XMPP_DOMAIN }} |
|
|
|
|
|
|
|
|
|
# XMPP account used for control |
|
|
|
|
net.java.sip.communicator.impl.protocol.jabber.acc1=acc1 |
|
|
|
|
net.java.sip.communicator.impl.protocol.jabber.acc1.ACCOUNT_UID=Jabber:{{ .Env.JIGASI_XMPP_USER }}@{{ .Env.XMPP_AUTH_DOMAIN }} |
|
|
|
|
net.java.sip.communicator.impl.protocol.jabber.acc1.USER_ID={{ .Env.JIGASI_XMPP_USER }}@{{ .Env.XMPP_AUTH_DOMAIN }} |
|
|
|
|
net.java.sip.communicator.impl.protocol.jabber.acc1.IS_SERVER_OVERRIDDEN=true |
|
|
|
|
net.java.sip.communicator.impl.protocol.jabber.acc1.SERVER_ADDRESS={{ .Env.XMPP_SERVER }} |
|
|
|
|
net.java.sip.communicator.impl.protocol.jabber.acc1.SERVER_PORT={{ $XMPP_PORT }} |
|
|
|
|
net.java.sip.communicator.impl.protocol.jabber.acc1.PASSWORD={{ .Env.JIGASI_XMPP_PASSWORD | b64enc }} |
|
|
|
|
net.java.sip.communicator.impl.protocol.jabber.acc1.AUTO_GENERATE_RESOURCE=true |
|
|
|
|
net.java.sip.communicator.impl.protocol.jabber.acc1.RESOURCE_PRIORITY=30 |
|
|
|
|
net.java.sip.communicator.impl.protocol.jabber.acc1.IS_CARBON_DISABLED=true |
|
|
|
|
net.java.sip.communicator.impl.protocol.jabber.acc1.DEFAULT_ENCRYPTION=true |
|
|
|
|
net.java.sip.communicator.impl.protocol.jabber.acc1.IS_USE_ICE=true |
|
|
|
|
net.java.sip.communicator.impl.protocol.jabber.acc1.IS_ACCOUNT_DISABLED=false |
|
|
|
|
net.java.sip.communicator.impl.protocol.jabber.acc1.IS_PREFERRED_PROTOCOL=false |
|
|
|
|
net.java.sip.communicator.impl.protocol.jabber.acc1.AUTO_DISCOVER_JINGLE_NODES=false |
|
|
|
|
net.java.sip.communicator.impl.protocol.jabber.acc1.PROTOCOL=Jabber |
|
|
|
|
net.java.sip.communicator.impl.protocol.jabber.acc1.IS_USE_UPNP=false |
|
|
|
|
net.java.sip.communicator.impl.protocol.jabber.acc1.USE_DEFAULT_STUN_SERVER=true |
|
|
|
|
net.java.sip.communicator.impl.protocol.jabber.acc1.ENCRYPTION_PROTOCOL.DTLS-SRTP=0 |
|
|
|
|
net.java.sip.communicator.impl.protocol.jabber.acc1.ENCRYPTION_PROTOCOL_STATUS.DTLS-SRTP=true |
|
|
|
|
net.java.sip.communicator.impl.protocol.jabber.acc1.VIDEO_CALLING_DISABLED=true |
|
|
|
|
net.java.sip.communicator.impl.protocol.jabber.acc1.OVERRIDE_ENCODINGS=true |
|
|
|
|
net.java.sip.communicator.impl.protocol.jabber.acc1.Encodings.G722/8000=705 |
|
|
|
|
net.java.sip.communicator.impl.protocol.jabber.acc1.Encodings.GSM/8000=0 |
|
|
|
|
net.java.sip.communicator.impl.protocol.jabber.acc1.Encodings.H263-1998/90000=0 |
|
|
|
|
net.java.sip.communicator.impl.protocol.jabber.acc1.Encodings.H264/90000=0 |
|
|
|
|
net.java.sip.communicator.impl.protocol.jabber.acc1.Encodings.PCMA/8000=0 |
|
|
|
|
net.java.sip.communicator.impl.protocol.jabber.acc1.Encodings.PCMU/8000=0 |
|
|
|
|
net.java.sip.communicator.impl.protocol.jabber.acc1.Encodings.SILK/12000=0 |
|
|
|
|
net.java.sip.communicator.impl.protocol.jabber.acc1.Encodings.SILK/16000=0 |
|
|
|
|
net.java.sip.communicator.impl.protocol.jabber.acc1.Encodings.SILK/24000=0 |
|
|
|
|
net.java.sip.communicator.impl.protocol.jabber.acc1.Encodings.SILK/8000=0 |
|
|
|
|
net.java.sip.communicator.impl.protocol.jabber.acc1.Encodings.VP8/90000=0 |
|
|
|
|
net.java.sip.communicator.impl.protocol.jabber.acc1.Encodings.iLBC/8000=0 |
|
|
|
|
net.java.sip.communicator.impl.protocol.jabber.acc1.Encodings.opus/48000=750 |
|
|
|
|
net.java.sip.communicator.impl.protocol.jabber.acc1.Encodings.speex/16000=0 |
|
|
|
|
net.java.sip.communicator.impl.protocol.jabber.acc1.Encodings.speex/32000=0 |
|
|
|
|
net.java.sip.communicator.impl.protocol.jabber.acc1.Encodings.speex/8000=0 |
|
|
|
|
net.java.sip.communicator.impl.protocol.jabber.acc1.Encodings.telephone-event/8000=0 |
|
|
|
|
net.java.sip.communicator.impl.protocol.jabber.acc1.BREWERY={{ .Env.JIGASI_BREWERY_MUC }}@{{ .Env.XMPP_INTERNAL_MUC_DOMAIN }} |
|
|
|
|
net.java.sip.communicator.impl.protocol.jabber.acc1.DOMAIN_BASE={{ .Env.XMPP_DOMAIN }} |
|
|
|
|
|
|
|
|
|
{{ range $index, $element := $XMPP_SERVERS -}} |
|
|
|
|
{{ $SERVER := splitn ":" 2 $element }} |
|
|
|
|
net.java.sip.communicator.impl.protocol.jabber.acc{{ $index }}=acc{{ $index }} |
|
|
|
|
net.java.sip.communicator.impl.protocol.jabber.acc{{ $index }}.ACCOUNT_UID=Jabber:{{ $ENV.JIGASI_XMPP_USER }}@{{ $ENV.XMPP_AUTH_DOMAIN }} |
|
|
|
|
net.java.sip.communicator.impl.protocol.jabber.acc{{ $index }}.USER_ID={{ $ENV.JIGASI_XMPP_USER }}@{{ $ENV.XMPP_AUTH_DOMAIN }} |
|
|
|
|
net.java.sip.communicator.impl.protocol.jabber.acc{{ $index }}.IS_SERVER_OVERRIDDEN=true |
|
|
|
|
net.java.sip.communicator.impl.protocol.jabber.acc{{ $index }}.SERVER_ADDRESS={{ $SERVER._0 }} |
|
|
|
|
net.java.sip.communicator.impl.protocol.jabber.acc{{ $index }}.SERVER_PORT={{ $SERVER._1 | default $XMPP_PORT }} |
|
|
|
|
net.java.sip.communicator.impl.protocol.jabber.acc{{ $index }}.PASSWORD={{ $ENV.JIGASI_XMPP_PASSWORD | b64enc }} |
|
|
|
|
net.java.sip.communicator.impl.protocol.jabber.acc{{ $index }}.AUTO_GENERATE_RESOURCE=true |
|
|
|
|
net.java.sip.communicator.impl.protocol.jabber.acc{{ $index }}.RESOURCE_PRIORITY=30 |
|
|
|
|
net.java.sip.communicator.impl.protocol.jabber.acc{{ $index }}.IS_CARBON_DISABLED=true |
|
|
|
|
net.java.sip.communicator.impl.protocol.jabber.acc{{ $index }}.DEFAULT_ENCRYPTION=true |
|
|
|
|
net.java.sip.communicator.impl.protocol.jabber.acc{{ $index }}.IS_USE_ICE=true |
|
|
|
|
net.java.sip.communicator.impl.protocol.jabber.acc{{ $index }}.IS_ACCOUNT_DISABLED=false |
|
|
|
|
net.java.sip.communicator.impl.protocol.jabber.acc{{ $index }}.IS_PREFERRED_PROTOCOL=false |
|
|
|
|
net.java.sip.communicator.impl.protocol.jabber.acc{{ $index }}.AUTO_DISCOVER_JINGLE_NODES=false |
|
|
|
|
net.java.sip.communicator.impl.protocol.jabber.acc{{ $index }}.PROTOCOL=Jabber |
|
|
|
|
net.java.sip.communicator.impl.protocol.jabber.acc{{ $index }}.IS_USE_UPNP=false |
|
|
|
|
net.java.sip.communicator.impl.protocol.jabber.acc{{ $index }}.USE_DEFAULT_STUN_SERVER=true |
|
|
|
|
net.java.sip.communicator.impl.protocol.jabber.acc{{ $index }}.ENCRYPTION_PROTOCOL.DTLS-SRTP=0 |
|
|
|
|
net.java.sip.communicator.impl.protocol.jabber.acc{{ $index }}.ENCRYPTION_PROTOCOL_STATUS.DTLS-SRTP=true |
|
|
|
|
net.java.sip.communicator.impl.protocol.jabber.acc{{ $index }}.VIDEO_CALLING_DISABLED=true |
|
|
|
|
net.java.sip.communicator.impl.protocol.jabber.acc{{ $index }}.OVERRIDE_ENCODINGS=true |
|
|
|
|
net.java.sip.communicator.impl.protocol.jabber.acc{{ $index }}.Encodings.G722/8000=705 |
|
|
|
|
net.java.sip.communicator.impl.protocol.jabber.acc{{ $index }}.Encodings.GSM/8000=0 |
|
|
|
|
net.java.sip.communicator.impl.protocol.jabber.acc{{ $index }}.Encodings.H263-1998/90000=0 |
|
|
|
|
net.java.sip.communicator.impl.protocol.jabber.acc{{ $index }}.Encodings.H264/90000=0 |
|
|
|
|
net.java.sip.communicator.impl.protocol.jabber.acc{{ $index }}.Encodings.PCMA/8000=0 |
|
|
|
|
net.java.sip.communicator.impl.protocol.jabber.acc{{ $index }}.Encodings.PCMU/8000=0 |
|
|
|
|
net.java.sip.communicator.impl.protocol.jabber.acc{{ $index }}.Encodings.SILK/12000=0 |
|
|
|
|
net.java.sip.communicator.impl.protocol.jabber.acc{{ $index }}.Encodings.SILK/16000=0 |
|
|
|
|
net.java.sip.communicator.impl.protocol.jabber.acc{{ $index }}.Encodings.SILK/24000=0 |
|
|
|
|
net.java.sip.communicator.impl.protocol.jabber.acc{{ $index }}.Encodings.SILK/8000=0 |
|
|
|
|
net.java.sip.communicator.impl.protocol.jabber.acc{{ $index }}.Encodings.VP8/90000=0 |
|
|
|
|
net.java.sip.communicator.impl.protocol.jabber.acc{{ $index }}.Encodings.iLBC/8000=0 |
|
|
|
|
net.java.sip.communicator.impl.protocol.jabber.acc{{ $index }}.Encodings.opus/48000=750 |
|
|
|
|
net.java.sip.communicator.impl.protocol.jabber.acc{{ $index }}.Encodings.speex/16000=0 |
|
|
|
|
net.java.sip.communicator.impl.protocol.jabber.acc{{ $index }}.Encodings.speex/32000=0 |
|
|
|
|
net.java.sip.communicator.impl.protocol.jabber.acc{{ $index }}.Encodings.speex/8000=0 |
|
|
|
|
net.java.sip.communicator.impl.protocol.jabber.acc{{ $index }}.Encodings.telephone-event/8000=0 |
|
|
|
|
net.java.sip.communicator.impl.protocol.jabber.acc{{ $index }}.BREWERY={{ $ENV.JIGASI_BREWERY_MUC }}@{{ $ENV.XMPP_INTERNAL_MUC_DOMAIN }} |
|
|
|
|
net.java.sip.communicator.impl.protocol.jabber.acc{{ $index }}.DOMAIN_BASE={{ $ENV.XMPP_DOMAIN }} |
|
|
|
|
{{ end -}} |
|
|
|
|
org.jitsi.jigasi.BREWERY_ENABLED=true |
|
|
|
|
|
|
|
|
|
org.jitsi.jigasi.HEALTH_CHECK_SIP_URI={{ .Env.JIGASI_HEALTH_CHECK_SIP_URI | default "" }} |
|
|
|
|