18 lines
656 B
YAML
18 lines
656 B
YAML
# /opt/apps/synapse/data/homeserver.yaml
|
||
# ----------------------------------------------------
|
||
# Existing content … (keep it!)
|
||
# ----------------------------------------------------
|
||
# Enable the VoIP module (MSC2746) – it’s built‑in but must be turned on
|
||
enable_voip: true
|
||
|
||
# Turn server configuration (required for media relay)
|
||
turn_uris:
|
||
- "turn:coturn:3478?transport=udp"
|
||
- "turn:coturn:5349?transport=tcp"
|
||
turn_shared_secret: "{{ lookup('file', '/opt/apps/coturn/turn_shared_secret') }}"
|
||
turn_user_lifetime: "12h"
|
||
|
||
# Application Service registration for mautrix‑voip (add a block)
|
||
app_service_config_files:
|
||
- "/data/mautrix-voip.yaml"
|