<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Feb 6, 2020 at 12:34 PM <a href="mailto:sduthil@wazo.io">sduthil@wazo.io</a> <<a href="mailto:sduthil@wazo.io">sduthil@wazo.io</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 1/29/20 2:31 PM, George Joseph wrote:<br>
> For those of you who actually process SIP MESSAGE requests... Do you<br>
> use any of the AMI events generated by the "Message/ast_msg_queue"<br>
> channel? We want to change that channel to an "internal" channel that<br>
> doesn't generate AMI events (for performance reasons) but we need to<br>
> know if anyone's using them first.<br>
> <br>
> Thanks!<br>
<br>
Hi George,<br>
<br>
could you give us a summary list of the impacted AMI messages? More<br>
specifically, are there AMI messages explicitly generated by<br>
Message/ast_msq_queue? Or are we talking about Newchannel, NewExten and<br>
other messages implicitly sent on the AMI because Message is a channel<br>
like any other?<br>
<br>
Note: please keep me in CC, I am not subscribed to asterisk-users<br>
mailing list.<br></blockquote><div><br></div><div>Here's a copy of the commit message which should explain things...</div><div><br></div><div> <font face="monospace">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.</font><br> <br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
-- <br>
Sébastien Duthil<br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr" style="font-size:12.8px"><div dir="ltr" style="font-size:12.8px"><div style="font-family:tahoma,sans-serif;font-size:small"><span style="color:rgb(7,55,99)">George Joseph</span><br></div></div><div dir="ltr" style="font-size:small"></div><div style="font-family:tahoma,sans-serif;font-size:small"><span style="color:rgb(7,55,99)">Asterisk Software Developer</span><br></div><span style="color:rgb(7,55,99);font-family:tahoma,sans-serif;font-size:small">direct/fax +1 256 428 6012</span><br><div style="font-family:tahoma,sans-serif;font-size:small"><font color="#073763">Check us out at</font> <a href="http://www.sangoma.com/" style="color:rgb(17,85,204)" target="_blank">www.sangoma.com</a> and <a href="http://www.asterisk.org" target="_blank">www.asterisk.org</a><br></div><div style="font-family:tahoma,sans-serif;font-size:small"><img src="cid:ii_k3abte590" alt="image.png" width="184" height="32" style="margin-right: 0px;"></div></div></div></div></div></div></div></div></div>