2
0

sip-communicator.properties 3.0 KB

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