MixMonitor quality audio issue with "D" flag

Hi all,

What would cause the audio file to become inaudible when using the “D” flag with mixmonitor (asterisk 20.14.1), please see the dialplan below and attached audio file. I also see the file is still recorded in mono

Dialplan:

exten => s,n,MixMonitor(${FILE_NAME},D)

soxi output:
Input File : ‘/var/spool/asterisk/monitor/pbx01-1750400511.59-E1750400512R1560064782.WAV’
Channels : 1
Sample Rate : 8000
Precision : 16-bit
Duration : 00:00:29.16 = 233280 samples ~ 2187 CDDA sectors
File Size : 47.4k
Bit Rate : 13.0k
Sample Encoding: GSM

Audio File:
I can’t seem to upload the WAV but will be made available on request via GDrive link or alternate means

It only supports .raw files currently.

It is in the documentation, but the documentation site isn’t pulling it out - so we’ll be fixing it so it does show up.

Thanks jcolp

image

This is probably a noob questions but I’m going cross-eyed, am I missing something?

Is the format_sln module loaded?

Indeed

image

What does “core show file formats” show? If you use “sln” instead for the file extension does it work?

I restarted asterisk (must have done something goofy on my side), but it works with .raw now

Still getting “corrupt” audio though with .raw and with .sln using the “D” flag
Archive.zip (365.3 KB)

And what does it sound like without using the “D” option?

And what are the complete options you are giving to MixMonitor? The image is small and I can’t make things out completely. (Sharing images is not great for this reason, text is preferred)

Here’s the sln without the “D” option, audio is clear
pbx01-1750418871.94-E1750418872R672825345.sln.zip (150.9 KB)

Apologies, the full text is:

MixMonitor(pbx01-1750418871.94-E1750418872R672825345.sln,a) - Audio is clear

MixMonitor(pbx01-1750418871.94-E1750418872R672825345.sln,aD) - Audio is corrupt