aboutsummaryrefslogtreecommitdiff
path: root/src/ejabberd_sip.erl (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Update newest copyright year to 2021 (#3464)Badlop2021-01-271-1/+1
|
* Update copyright to 2020 (#3149)Badlop2020-01-281-1/+1
|
* Correctly handle unicode in log messagesEvgeny Khramtsov2019-09-231-1/+1
|
* Use new configuration validatorEvgeny Khramtsov2019-06-141-8/+6
|
* Rename listening callback from start/2 to start/3Evgeny Khramtsov2019-04-011-9/+9
| | | | | This will prevent conflicts in callback names in mod_mqtt Old callback function is still supported.
* Update copyright to 2019 (#2756)Badlop2019-01-081-1/+1
|
* Fail early when loading unavailable SIP or STUN modulesEvgeny Khramtsov2018-09-181-10/+9
|
* Refactor ejabberd_listenerEvgeny Khramtsov2018-09-181-16/+6
|
* Refactor ejabberd listener APIEvgeny Khramtsov2018-09-171-6/+13
|
* Get rid of ejabberd.hrl headerEvgeniy Khramtsov2018-06-141-3/+2
| | | | | | | | | The header consisted of too many unrelated stuff and macros misuse. Some stuff is moved into scram.hrl and type_compat.hrl. All macros have been replaced with the corresponding function calls. TODO: probably type_compat.hrl is not even needed anymore since we support only Erlang >= OTP 17.5
* Add validator for 'accept_interval' listening optionEvgeniy Khramtsov2018-04-301-1/+3
|
* Update copyright datesEvgeniy Khramtsov2018-01-051-1/+1
|
* Fix a typo in comment :)Evgeniy Khramtsov2017-12-241-1/+1
|
* Rely on Server Name Indication for incoming Direct-TLS connectionsEvgeniy Khramtsov2017-12-241-1/+23
| | | | | This commit also deprecates `certfile` option for ejabberd_http listener.
* Cleanup some headersChristophe Romain2017-11-101-1/+4
|
* Introduce --enable-stun and --enable-sip configure optionsEvgeniy Khramtsov2017-05-231-0/+16
| | | | | STUN/TURN and SIP is not compiled by default anymore. Use --enable-stun, --enable-sip or --enable-all to enable them.
* Introduce Certficate ManagerEvgeniy Khramtsov2017-05-121-1/+4
| | | | | | | | | | | | | | | | | | | | The major goal is to simplify certificate management in ejabberd. Currently it requires some effort from a user to configure certficates, especially in the situation where a lot of virtual domains are hosted. The task is splitted in several sub-tasks: * Implement basic certificate validator. The validator should check all configured certificates for existence, validity, duration and so on. The validator should not perform any actions in the case of errors except logging an error message. This is actually implemented by this commit. * All certificates should be configured inside a single section (something like 'certfiles') where ejabberd should parse them, check the full-chain, find the corresponding private keys and, if needed, resort chains and split the certficates into separate files for easy to use by fast_tls. * Options like 'domain_certfile', 'c2s_certfile' or 's2s_certfile' should probably be deprecated, since the process of matching certificates with the corresponding virtual hosts should be done automatically and these options only introduce configuration errors without any meaningful purpose.
* Check presence of some files during option validationEvgeniy Khramtsov2017-05-121-1/+1
|
* Don't validate an option in gen_mod:get*opt() functionsEvgeniy Khramtsov2017-04-301-0/+58
The changes are very similar to those from previous commit: * Now there is no need to pass validating function in gen_mod:get_opt() and gen_mod:get_module_opt() functions, because the modules' configuration keeps already validated values. * New functions gen_mod:get_opt/2 and gen_mod:get_module_opt/3 are introduced. * Functions gen_mod:get_opt/4 and get_module_opt/5 are deprecated. If the functions are still called, the "function" argument is simply ignored. * Validating callback Mod:listen_opt_type/1 is introduced to validate listening options at startup.