Explicitly configure STUN/TURN service discovery

It didn't return any services without the explicit config.
This commit is contained in:
2020-05-02 14:30:36 +02:00
parent 4448ec2173
commit 3a37cade0e
2 changed files with 15 additions and 3 deletions

View File

@@ -80,7 +80,7 @@ listen:
module: ejabberd_stun
auth_realm: <%= @stun_auth_realm %>
use_turn: true
turn_ip: <%= @turn_ip_address %>
turn_ip: <%= node['ipaddress'] %>
turn_min_port: <%= @turn_min_port %>
turn_max_port: <%= @turn_max_port %>
@@ -223,7 +223,20 @@ modules:
versioning: true
store_current_id: true
mod_shared_roster: {}
mod_stun_disco: {}
mod_stun_disco:
services:
-
host: <%= node['ipaddress'] %>
port: 3478
type: stun
transport: udp
restricted: false
-
host: <%= node['ipaddress'] %>
port: 3478
type: turn
transport: udp
restricted: true
mod_vcard:
search: false
mod_vcard_xupdate: {}