]> git.ipfire.org Git - thirdparty/asterisk.git/commit
ami: Allow events to be globally disabled.
authorNaveen Albert <asterisk@phreaknet.org>
Sun, 9 Jan 2022 13:32:48 +0000 (13:32 +0000)
committerKevin Harwell <kharwell@digium.com>
Fri, 25 Feb 2022 21:13:11 +0000 (15:13 -0600)
commit466a361626df9cd5bdf6f50a0d1d3a2635722bdd
tree6fe2f92724596ecc466618f8a5cb3857efe43e7c
parentbe09484831667f2c0e10a0d5809436967a910e90
ami: Allow events to be globally disabled.

The disabledevents setting has been added to the general section
in manager.conf, which allows users to specify events that
should be globally disabled and not sent to any AMI listeners.

This allows for processing of these AMI events to end sooner and,
for frequent AMI events such as Newexten which users may not have
any need for, allows them to not be processed. Additionally, it also
cleans up core debug as previously when debug was 3 or higher,
the debug was constantly spammed by "Analyzing AMI event" messages
along with a complete dump of the event contents (often for Newexten).

ASTERISK-29853 #close

Change-Id: Id42b9a3722a1f460d745cad1ebc47c537fd4f205
configs/samples/manager.conf.sample
doc/CHANGES-staging/manager_disable.txt [new file with mode: 0644]
main/manager.c