Hello everyone,
I’m running FreePBX 17 with Asterisk 22.5 and I’m trying to configure call recording to produce two separate files for the inbound (RX) and outbound (TX) audio streams. My goal is to use the W option of the MixMonitor application.
Despite trying all the standard methods I could find, the system continues to generate a single, mono .wav file for every recorded call. I would be very grateful for any guidance on what I might be missing.
Here is a summary of what I have attempted so far:
1. Overriding sub-record-check via extensions_custom.conf
My first approach was to create a [sub-record-check-custom] context. I tried setting the recording options using both __MIXMONITOR_OPTIONS=Wb and directly manipulating the MixMonitor command. However, after reviewing the Asterisk logs, it became clear that this custom context was never being executed by the dialplan.
2. Using globals_custom.conf to Set Global Options
My next approach was to define a global variable. I created globals_custom.conf and tried the following options one by one (with an fwconsole restart after each change):
-
MIXMON_OPTS = Wb -
__MIXMONITOR_OPTIONS = Wb -
MIXMON_OPTS = Wb${MIXMON_OPTS}(This was an attempt to prepend my option to any options FreePBX might be setting).
Unfortunately, none of these global settings worked. The Asterisk log clearly shows that MixMonitor is still being called without the W option. For example, the log shows a line like this:
As you can see, my Wb option is completely ignored, and FreePBX proceeds with its own abi(...) options.
My Question:
Given that these standard methods are not working, what is the correct way on a modern FreePBX 17 system to force the W option for all recordings initiated by the extensions module?