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
This commit is contained in:
Naveen Albert
2022-01-09 13:32:48 +00:00
committed by Friendly Automation
parent 42525b0fe2
commit 59b25e9d59
3 changed files with 45 additions and 4 deletions

View File

@@ -0,0 +1,4 @@
Subject: ami
AMI events can now be globally disabled using
the disabledevents [general] setting.