From: Naveen Albert Date: Fri, 25 Feb 2022 17:01:41 +0000 (+0000) Subject: res_agi: Fix xmldocs bug with set music. X-Git-Tag: 18.12.0-rc1~48 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dc129b6951c6b207e7c1a686d72149b7a6460715;p=thirdparty%2Fasterisk.git res_agi: Fix xmldocs bug with set music. The XML documentation for the SET MUSIC AGI command is invalid, as the parameter does not have a name and the on/off enum options for the on/off argument are listed separately, which is incorrect. The cumulative effect of these currently is that the Asterisk Wiki documentation for SET MUSIC is broken and external documentation generators crash on SET MUSIC due to the malformed documentation. These issues are corrected so that the documentation can be successfully parsed as with other similar AGI commands. ASTERISK-29939 #close ASTERISK-28891 #close Change-Id: I8c3d59897531bcbc401cbc7b00c9e2829dcb35f8 (cherry picked from commit 37ece75677bff5655f0a3fb4dbda2b7c4847bc50) --- diff --git a/res/res_agi.c b/res/res_agi.c index 8bdb7ed385..339a15d7fd 100644 --- a/res/res_agi.c +++ b/res/res_agi.c @@ -794,14 +794,10 @@ Enable/Disable Music on hold generator - + - - - - - - + +