summaryrefslogtreecommitdiff
path: root/ejabberd/config.d/sip-sips.yml
blob: 70edfb6206f0bcf2f11c9884e52df70718049946 (plain)
  1. # SIP services (insecure + secure)
  2. #
  3. # * _tls proto (in DNS below) is nonstandard but maybe used in the wild
  4. #
  5. # Sample DNS entries:
  6. # @ IN NAPTR 10 0 "s" "SIPS+D2T" "" _sips._tcp
  7. # @ IN NAPTR 20 0 "s" "SIP+D2U" "" _sip._udp
  8. # @ IN NAPTR 30 0 "s" "SIP+D2T" "" _sip._tcp
  9. # sip IN A 192.0.2.1
  10. # _sip._udp IN SRV 0 0 5060 sip
  11. # _sip._tcp IN SRV 0 0 5060 sip
  12. # _sips._tcp IN SRV 0 0 5061 sip
  13. # _sip._tls IN SRV 0 0 5061 sip
  14. #
  15. # Depends: erlang-p1-sip
  16. listen:
  17. -
  18. port: 5060
  19. transport: udp
  20. module: ejabberd_sip
  21. -
  22. port: 5060
  23. module: ejabberd_sip
  24. -
  25. port: 5061
  26. module: ejabberd_sip
  27. tls: true
  28. certfile: 'CERT_PATH'
  29. modules:
  30. mod_sip: {}