sip-communicator.properties 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. {{ $JIGASI_JVB_TIMEOUT := .Env.JIGASI_JVB_TIMEOUT | default "30000" -}}
  2. {{ $JIGASI_LOCAL_REGION := .Env.JIGASI_LOCAL_REGION | default "" -}}
  3. {{ $BOSH_URL_PATTERN := .Env.BOSH_URL_PATTERN | default "" -}}
  4. {{ $XMPP_MUC_DOMAIN := .Env.XMPP_MUC_DOMAIN | default "muc.meet.jitsi" -}}
  5. {{ $XMPP_SERVER := .Env.XMPP_SERVER | default "xmpp.meet.jitsi" -}}
  6. {{ $PUBLIC_URL_DOMAIN := .Env.PUBLIC_URL | default "https://localhost:8443" | trimPrefix "https://" | trimSuffix "/" -}}
  7. {{ $SHUTDOWN_REST_ENABLED := .Env.SHUTDOWN_REST_ENABLED | default "false" | toBool -}}
  8. {{ $TRUSTED_DOMAIN_LIST := .Env.JIGASI_TRUSTED_DOMAINS | default "" -}}
  9. {{ $TRUSTED_DOMAINS := splitList "," $TRUSTED_DOMAIN_LIST -}}
  10. net.java.sip.communicator.impl.protocol.SingleCallInProgressPolicy.enabled=false
  11. # Adjust opus encoder complexity
  12. net.java.sip.communicator.impl.neomedia.codec.audio.opus.encoder.COMPLEXITY=10
  13. # Disables packet logging
  14. net.java.sip.communicator.packetlogging.PACKET_LOGGING_ENABLED=false
  15. # Control REST Shutdown
  16. org.jitsi.jigasi.ENABLE_REST_SHUTDOWN={{ $SHUTDOWN_REST_ENABLED }}
  17. org.jitsi.jigasi.BREWERY_ENABLED=true
  18. org.jitsi.jigasi.MUC_JOIN_TIMEOUT=10
  19. org.jitsi.jigasi.HEALTH_CHECK_SIP_URI={{ .Env.JIGASI_HEALTH_CHECK_SIP_URI | default "" }}
  20. org.jitsi.jigasi.HEALTH_CHECK_INTERVAL={{ .Env.JIGASI_HEALTH_CHECK_INTERVAL | default "300000" }}
  21. org.jitsi.jigasi.HEALTH_CHECK_TIMEOUT=600000
  22. org.jitsi.jigasi.xmpp.acc.IS_SERVER_OVERRIDDEN=true
  23. org.jitsi.jigasi.xmpp.acc.SERVER_ADDRESS={{ $PUBLIC_URL_DOMAIN }}
  24. org.jitsi.jigasi.xmpp.acc.VIDEO_CALLING_DISABLED=true
  25. org.jitsi.jigasi.xmpp.acc.JINGLE_NODES_ENABLED=false
  26. org.jitsi.jigasi.xmpp.acc.AUTO_DISCOVER_STUN=false
  27. org.jitsi.jigasi.xmpp.acc.IM_DISABLED=true
  28. org.jitsi.jigasi.xmpp.acc.SERVER_STORED_INFO_DISABLED=true
  29. org.jitsi.jigasi.xmpp.acc.IS_FILE_TRANSFER_DISABLED=true
  30. # Activate this property if you are using self-signed certificates or other
  31. # type of non-trusted certicates. In this mode your service trust in the
  32. # remote certificates always.
  33. net.java.sip.communicator.service.gui.ALWAYS_TRUST_MODE_ENABLED=true
  34. {{ if .Env.JIGASI_SIP_DEFAULT_ROOM }}
  35. org.jitsi.jigasi.DEFAULT_JVB_ROOM_NAME={{ .Env.JIGASI_SIP_DEFAULT_ROOM }}
  36. {{ end }}
  37. org.jitsi.jigasi.MUC_SERVICE_ADDRESS={{ $XMPP_MUC_DOMAIN }}
  38. # when checking other participants whether they are jibri/jigasi we can also check the the domain they use for connecting
  39. {{ if $TRUSTED_DOMAIN_LIST }}
  40. org.jitsi.jigasi.TRUSTED_DOMAINS=[ {{ range $index, $element := $TRUSTED_DOMAINS }}{{ if gt $index 0 }},{{ end }}"{{ $element }}"{{ end}} ]
  41. {{ end }}
  42. org.jitsi.jigasi.JVB_INVITE_TIMEOUT={{ $JIGASI_JVB_TIMEOUT }}
  43. {{ if $JIGASI_LOCAL_REGION }}
  44. org.jitsi.jigasi.LOCAL_REGION={{ $JIGASI_LOCAL_REGION }}
  45. {{ end }}
  46. {{ if $BOSH_URL_PATTERN }}
  47. org.jitsi.jigasi.xmpp.acc.BOSH_URL_PATTERN={{ $BOSH_URL_PATTERN }}
  48. {{ end }}
  49. {{ if .Env.JIGASI_CONFIGURATION -}}
  50. {{ join "\n" (splitList "," .Env.JIGASI_CONFIGURATION) }}
  51. {{ end -}}