<p>George Joseph <strong>uploaded patch set #2</strong> to this change.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/13723">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">message.c: Add option to suppress the Message channel AMI and ARI events<br><br>In order to reduce the amount of AMI and ARI events generated,<br>the global "Message/ast_msg_queue" channel can be set to suppress<br>it's normal channel housekeeping events such as "Newexten",<br>"VarSet", etc. This can greatly reduce load on the manager<br>and ARI applications when the Digium Phone Module for Asterisk<br>is in use.  To enable, set "hide_messaging_ami_events" in<br>asterisk.conf to "yes"  In Asterisk versions <18, the default<br>is "no" preserving existing behavior.  Beginning with<br>Asterisk 18, the option will default to "yes".<br><br>NOTE:  This change does not affect UserEvents or the ARI<br>TextMessageReceived events.<br><br>* Added the "hide_messaging_ami_events" option to asterisk.conf.<br><br>* Changed message.c to set the AST_CHAN_TP_INTERNAL property on<br>  the "Message/ast_msg_queue" channel if the option is set in<br>  asterisk.conf.  This suppresses the reporting of the events.<br><br>Change-Id: Ia2e3516d43f4e0df994fc6598565d6bba2d7018b<br>---<br>M configs/samples/asterisk.conf.sample<br>A doc/CHANGES-staging/hide_messaging_ami_events<br>M include/asterisk/options.h<br>M main/asterisk.c<br>M main/message.c<br>M main/options.c<br>6 files changed, 27 insertions(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/23/13723/2</pre><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/13723">change 13723</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.asterisk.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.asterisk.org/c/asterisk/+/13723"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 16 </div>
<div style="display:none"> Gerrit-Change-Id: Ia2e3516d43f4e0df994fc6598565d6bba2d7018b </div>
<div style="display:none"> Gerrit-Change-Number: 13723 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: George Joseph <gjoseph@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Benjamin Keith Ford <bford@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Friendly Automation </div>
<div style="display:none"> Gerrit-Reviewer: Joshua Colp <jcolp@sangoma.com> </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>