<p>N A has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/18213">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">res_agi: Fix xmldocs bug with set music.<br><br>The XML documentation for the SET MUSIC AGI<br>command is invalid, as the parameter does not<br>have a name and the on/off enum options for<br>the on/off argument are listed separately, which<br>is incorrect. The cumulative effect of these currently<br>is that the Asterisk Wiki documentation for SET MUSIC<br>is broken and external documentation generators crash<br>on SET MUSIC due to the malformed documentation.<br><br>These issues are corrected so that the documentation<br>can be successfully parsed as with other similar AGI<br>commands.<br><br>ASTERISK-29939 #close<br>ASTERISK-28891 #close<br><br>Change-Id: I8c3d59897531bcbc401cbc7b00c9e2829dcb35f8<br>(cherry picked from commit 37ece75677bff5655f0a3fb4dbda2b7c4847bc50)<br>---<br>M res/res_agi.c<br>1 file changed, 3 insertions(+), 7 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/13/18213/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/res/res_agi.c b/res/res_agi.c</span><br><span>index 8bdb7ed..339a15d 100644</span><br><span>--- a/res/res_agi.c</span><br><span>+++ b/res/res_agi.c</span><br><span>@@ -794,14 +794,10 @@</span><br><span>                        Enable/Disable Music on hold generator</span><br><span>               </synopsis></span><br><span>            <syntax></span><br><span style="color: hsl(0, 100%, 40%);">-                  <parameter required="true"></span><br><span style="color: hsl(120, 100%, 40%);">+                   <parameter name="boolean" required="true"></span><br><span>                                 <enumlist></span><br><span style="color: hsl(0, 100%, 40%);">-                                        <enum></span><br><span style="color: hsl(0, 100%, 40%);">-                                            <parameter name="on" literal="true" required="true" /></span><br><span style="color: hsl(0, 100%, 40%);">-                                      </enum></span><br><span style="color: hsl(0, 100%, 40%);">-                                   <enum></span><br><span style="color: hsl(0, 100%, 40%);">-                                            <parameter name="off" literal="true" required="true" /></span><br><span style="color: hsl(0, 100%, 40%);">-                                     </enum></span><br><span style="color: hsl(120, 100%, 40%);">+                                 <enum name="on" /></span><br><span style="color: hsl(120, 100%, 40%);">+                                    <enum name="off" /></span><br><span>                          </enumlist></span><br><span>                    </parameter></span><br><span>                   <parameter name="class" required="true" /></span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/18213">change 18213</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/+/18213"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 18 </div>
<div style="display:none"> Gerrit-Change-Id: I8c3d59897531bcbc401cbc7b00c9e2829dcb35f8 </div>
<div style="display:none"> Gerrit-Change-Number: 18213 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: N A <mail@interlinked.x10host.com> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>