<p>lvl has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.asterisk.org/10064">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">manager: Set AMI event "Newexten" to the EVENT_FLAG_DIALPLAN class<br><br>The documentation already specified EVENT_FLAG_DIALPLAN for this<br>event, but the implementation was using EVENT_FLAG_CALL.<br><br>Using EVENT_FLAG_DIALPLAN allows AMI clients to opt out of receiving<br>this highly verbose event.<br><br>ASTERISK-28033<br><br>Change-Id: I45b3119f30e4dbc17b49831f2b1a4f2c1beadafe<br>---<br>M CHANGES<br>M main/manager_channels.c<br>2 files changed, 5 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/64/10064/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/CHANGES b/CHANGES</span><br><span>index 0a6db05..2011ef0 100644</span><br><span>--- a/CHANGES</span><br><span>+++ b/CHANGES</span><br><span>@@ -63,6 +63,10 @@</span><br><span>  * The ContactStatus and Status fields for the manager events ContactStatus</span><br><span>    and ContactStatusDetail are now set to "NonQualified" when a contact exists</span><br><span>    but has not been qualified.</span><br><span style="color: hsl(120, 100%, 40%);">+   </span><br><span style="color: hsl(120, 100%, 40%);">+ * The "Newexten" event is now part of the "dialplan" class. The documentation</span><br><span style="color: hsl(120, 100%, 40%);">+   for Asterisk 15 already specified this, but the implementation was actually</span><br><span style="color: hsl(120, 100%, 40%);">+   using the "call" class instead.</span><br><span> </span><br><span> ARI</span><br><span> ------------------</span><br><span>diff --git a/main/manager_channels.c b/main/manager_channels.c</span><br><span>index 37269a9..ac09d42 100644</span><br><span>--- a/main/manager_channels.c</span><br><span>+++ b/main/manager_channels.c</span><br><span>@@ -638,7 +638,7 @@</span><br><span> </span><br><span>       /* DEPRECATED: Extension field deprecated in 12; remove in 14 */</span><br><span>     return ast_manager_event_blob_create(</span><br><span style="color: hsl(0, 100%, 40%);">-           EVENT_FLAG_CALL, "Newexten",</span><br><span style="color: hsl(120, 100%, 40%);">+                EVENT_FLAG_DIALPLAN, "Newexten",</span><br><span>           "Extension: %s\r\n"</span><br><span>                "Application: %s\r\n"</span><br><span>              "AppData: %s\r\n",</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/10064">change 10064</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/10064"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: I45b3119f30e4dbc17b49831f2b1a4f2c1beadafe </div>
<div style="display:none"> Gerrit-Change-Number: 10064 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: lvl <digium@lvlconsultancy.nl> </div>