mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 04:11:08 +00:00
message.c: Add option to suppress the Message channel AMI and ARI events
In order to reduce the amount of AMI and ARI events generated, the global "Message/ast_msg_queue" channel can be set to suppress it's normal channel housekeeping events such as "Newexten", "VarSet", etc. This can greatly reduce load on the manager and ARI applications when the Digium Phone Module for Asterisk is in use. To enable, set "hide_messaging_ami_events" in asterisk.conf to "yes" In Asterisk versions <18, the default is "no" preserving existing behavior. Beginning with Asterisk 18, the option will default to "yes". NOTE: This change does not affect UserEvents or the ARI TextMessageReceived events. * Added the "hide_messaging_ami_events" option to asterisk.conf. * Changed message.c to set the AST_CHAN_TP_INTERNAL property on the "Message/ast_msg_queue" channel if the option is set in asterisk.conf. This suppresses the reporting of the events. Change-Id: Ia2e3516d43f4e0df994fc6598565d6bba2d7018b
This commit is contained in:
11
doc/CHANGES-staging/hide_messaging_ami_events
Normal file
11
doc/CHANGES-staging/hide_messaging_ami_events
Normal file
@@ -0,0 +1,11 @@
|
||||
Subject: Messaging
|
||||
|
||||
In order to reduce the amount of AMI and ARI events generated,
|
||||
the global "Message/ast_msg_queue" channel can be set to suppress
|
||||
it's normal channel housekeeping events such as "Newexten",
|
||||
"VarSet", etc. This can greatly reduce load on the manager
|
||||
and ARI applications when the Digium Phone Module for Asterisk
|
||||
is in use. To enable, set "hide_messaging_ami_events" in
|
||||
asterisk.conf to "yes" In Asterisk versions <18, the default
|
||||
is "no" preserving existing behavior. Beginning with
|
||||
Asterisk 18, the option will default to "yes".
|
Reference in New Issue
Block a user