jabber: fix turn

This commit is contained in:
Sandro - 2023-10-12 01:21:24 +02:00
parent 4a95dbae69
commit 83ff746c22
Signed by: sandro
GPG Key ID: 3AF5A43A3EECC2E5
1 changed files with 15 additions and 8 deletions

View File

@ -196,15 +196,22 @@ in
http_upload_file_size_limit = 10 * 1024 * 1024
http_upload_expire_after = 60 * 60 * 24 * 7 -- a week in seconds
external_service_password = coturnPassword;
external_service_port = "3478";
external_service_transport = "udp";
external_service_type = "turn";
external_service_username = coturnUser;
external_services = {
{ host = "turn.${domain}" };
{ host = "${zentralwerk.lib.dns.publicIPv4}" };
}
["turn.${domain}"] = {
username = "${coturnUser}";
password = "${coturnPassword}";
port = "3478";
transport = "udp";
type = "turn";
};
["${zentralwerk.lib.dns.publicIPv4}"] = {
username = "${coturnUser}";
password = "${coturnPassword}";
port = "3478";
transport = "udp";
type = "turn";
};
};
-- File-transfer proxies are an outdated technology
-- Component "proxy65.${domain}" "proxy65"