]> 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)
committergithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Thu, 17 Jul 2025 15:07:44 +0000 (15:07 +0000)
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

apps/app_mixmonitor.c

index 6cf61fa7b294f6bd67df668eca00a20d0f0f5a5b..011b46a251aeb222cf81635bf24d681d1eb54733 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">StopMixMonitor</ref>