]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
app_mixmonitor: Update the documentation concerning the "D" option.
authorGeorge Joseph <gjoseph@sangoma.com>
Wed, 16 Jul 2025 15:49:22 +0000 (09:49 -0600)
committerGeorge Joseph <gjoseph@sangoma.com>
Wed, 17 Sep 2025 20:04:26 +0000 (14:04 -0600)
When using the "D" option to output interleaved audio, the file extension
must be ".raw".  That info wasn't being properly rendered in the markdown
and HTML on the documentation site.  The XML was updated to move the
note in the option section to a warning in the description.

Resolves: #1269
(cherry picked from commit 8a602dbfeeed8a2b54ca1e8f03dc425b02a0005b)

apps/app_mixmonitor.c

index fab63ed6c84ec7d9daee886dc1057ec83f34da3d..82dc259984bde2570464301a6642b7e720331062 100644 (file)
                                                the file in the configured monitoring directory.</para>
                                        </option>
                                        <option name="D">
-                                               <para>Interleave the audio coming from the channel and the audio coming to the channel in
-                                               the output audio as a dual channel stream, rather than mix it.</para>
-                                               <note><para>Use .raw as the extension.</para></note>
+                                               <para>Interleave the audio coming from the channel and the audio
+                                               going to the channel and output it as a 2 channel (stereo)
+                                               raw stream rather than mixing it. You must use the
+                                               <literal>.raw</literal> file extension. Any other extension
+                                               will produce a corrupted file.</para>
                                        </option>
                                        <option name="n">
                                                <para>When the <replaceable>r</replaceable> or <replaceable>t</replaceable> option is
                        parameters.  You risk a command injection attack executing arbitrary commands
                        if the untrusted strings aren't filtered to remove dangerous characters.  See
                        function <variable>FILTER()</variable>.</para></warning>
+                       <warning><para>When using the <literal>D</literal> option to save
+                       interleaved audio, you MUST use <literal>.raw</literal> as the
+                       file extension.  Any other extension will produce a corrupted file.</para></warning>
                </description>
                <see-also>
                        <ref type="application">Monitor</ref>