Files
External-apps/templates/mautrix-voip.yaml
2026-02-22 21:12:23 -07:00

23 lines
766 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# /opt/apps/mautrix-voip/mautrix-voip.yaml
# ----------------------------------------------------
as_token: "{{ lookup('file', '/opt/apps/synapse/data/registration_token') }}"
hs_token: "{{ lookup('file', '/opt/apps/synapse/data/registration_token') }}"
# Where Synapse lives (the internal network name)
homeserver:
url: "http://synapse:8008"
domain: "{{ matrix_domain }}"
# TURN server details – the bridge will use these for its media streams
turn:
uris:
- "turn:coturn:3478?transport=udp"
- "turn:coturn:5349?transport=tcp"
shared_secret: "{{ lookup('file', '/opt/apps/coturn/turn_shared_secret') }}"
# SIP provider configuration (example – replace with your own)
sip:
uri: "sip:example.com"
username: "myuser"
password: "mypassword"