Explicitly configure STUN/TURN service discovery
It didn't return any services without the explicit config.
This commit is contained in:
@@ -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: {}
|
||||
|
||||
Reference in New Issue
Block a user