]> 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)
committerFriendly Automation <jenkins2@gerrit.asterisk.org>
Thu, 17 Feb 2022 17:58:26 +0000 (11:58 -0600)
commit585c2d17bb16f86005358a2d08349f285c5a8bc1
treeacff0468bddc93cb90e9e2fc60904e96262482f0
parent3b1debb28bcfd25541e38273c34deddc7fc6f0d0
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