|
|
|
@ -73,6 +73,55 @@ listen:
|
|
|
|
|
ip: "::"
|
|
|
|
|
module: mod_mqtt
|
|
|
|
|
backlog: 1000
|
|
|
|
|
##
|
|
|
|
|
## https://docs.ejabberd.im/admin/configuration/#stun-and-turn
|
|
|
|
|
## ejabberd_stun: Handles STUN Binding requests
|
|
|
|
|
##
|
|
|
|
|
##-
|
|
|
|
|
## port: 3478
|
|
|
|
|
## ip: "0.0.0.0"
|
|
|
|
|
## transport: udp
|
|
|
|
|
## module: ejabberd_stun
|
|
|
|
|
## use_turn: true
|
|
|
|
|
## turn_ip: "{{ IP }}"
|
|
|
|
|
## auth_type: user
|
|
|
|
|
## auth_realm: "example.com"
|
|
|
|
|
##-
|
|
|
|
|
## port: 3478
|
|
|
|
|
## ip: "0.0.0.0"
|
|
|
|
|
## module: ejabberd_stun
|
|
|
|
|
## use_turn: true
|
|
|
|
|
## turn_ip: "{{ IP }}"
|
|
|
|
|
## auth_type: user
|
|
|
|
|
## auth_realm: "example.com"
|
|
|
|
|
##-
|
|
|
|
|
## port: 5349
|
|
|
|
|
## ip: "0.0.0.0"
|
|
|
|
|
## module: ejabberd_stun
|
|
|
|
|
## certfile: "/home/ejabberd/conf/server.pem"
|
|
|
|
|
## tls: true
|
|
|
|
|
## use_turn: true
|
|
|
|
|
## turn_ip: "{{ IP }}"
|
|
|
|
|
## auth_type: user
|
|
|
|
|
## auth_realm: "example.com"
|
|
|
|
|
##
|
|
|
|
|
## https://docs.ejabberd.im/admin/configuration/#sip
|
|
|
|
|
## To handle SIP (VOIP) requests:
|
|
|
|
|
##
|
|
|
|
|
##-
|
|
|
|
|
## port: 5060
|
|
|
|
|
## ip: "0.0.0.0"
|
|
|
|
|
## transport: udp
|
|
|
|
|
## module: ejabberd_sip
|
|
|
|
|
##-
|
|
|
|
|
## port: 5060
|
|
|
|
|
## ip: "0.0.0.0"
|
|
|
|
|
## module: ejabberd_sip
|
|
|
|
|
##-
|
|
|
|
|
## port: 5061
|
|
|
|
|
## ip: "0.0.0.0"
|
|
|
|
|
## module: ejabberd_sip
|
|
|
|
|
## tls: true
|
|
|
|
|
|
|
|
|
|
s2s_use_starttls: optional
|
|
|
|
|
|
|
|
|
@ -221,6 +270,7 @@ modules:
|
|
|
|
|
ip_access: trusted_network
|
|
|
|
|
mod_roster:
|
|
|
|
|
versioning: true
|
|
|
|
|
mod_sip: {}
|
|
|
|
|
mod_s2s_dialback: {}
|
|
|
|
|
mod_shared_roster: {}
|
|
|
|
|
mod_stream_mgmt:
|
|
|
|
|