blob: 70edfb6206f0bcf2f11c9884e52df70718049946 (
plain)
- # SIP services (insecure + secure)
- #
- # * _tls proto (in DNS below) is nonstandard but maybe used in the wild
- #
- # Sample DNS entries:
- # @ IN NAPTR 10 0 "s" "SIPS+D2T" "" _sips._tcp
- # @ IN NAPTR 20 0 "s" "SIP+D2U" "" _sip._udp
- # @ IN NAPTR 30 0 "s" "SIP+D2T" "" _sip._tcp
- # sip IN A 192.0.2.1
- # _sip._udp IN SRV 0 0 5060 sip
- # _sip._tcp IN SRV 0 0 5060 sip
- # _sips._tcp IN SRV 0 0 5061 sip
- # _sip._tls IN SRV 0 0 5061 sip
- #
- # Depends: erlang-p1-sip
- listen:
- -
- port: 5060
- transport: udp
- module: ejabberd_sip
- -
- port: 5060
- module: ejabberd_sip
- -
- port: 5061
- module: ejabberd_sip
- tls: true
- certfile: 'CERT_PATH'
- modules:
- mod_sip: {}
|