Hi! Nobody seems knows the answer, so, I found the solution myself (I have Asterisk 11 and FreePBX 13 installed on my Raspberry Pi 3).
That’s the way:
open etc\asterisk\extensions_additional.conf Find string
_
exten => recordcheck,n,MixMonitor(${MIXMON_DIR}${YEAR}/${MONTH}/${DAY}/${CALLFILENAME}.${MON_FMT},abi(LOCAL_MIXMON_ID)${MIXMON_BEEP},${MIXMON_POST})
Replace abi with ai (simply delete character b)
The result will be:
exten => recordcheck,n,MixMonitor(${MIXMON_DIR}${YEAR}/${MONTH}/${DAY}/${CALLFILENAME}.${MON_FMT},ai(LOCAL_MIXMON_ID)${MIXMON_BEEP},${MIXMON_POST})
Save changes.
Next step: open
var\www\html\admin\modules\callrecording\functions.inc.php
Find string
$ext->add($context, $exten, ‘’, new ext_mixmonitor(’${MIXMON_DIR}${YEAR}/${MONTH}/${DAY}/${CALLFILENAME}.${MON_FMT}’,‘abi(LOCAL_MIXMON_ID)${MIXMON_BEEP}’,’${MIXMON_POST}’));
Replace abi with ai and save changes. After that, reload Asterisk, and enjoy - all calls are now recording with dial tones, music on hold, announcements etc, in my FreePBX recording options on all incoming and outgoing are set to FORCE. In every case, it works in my FreePBX 13
But have in mind, when you load FreePBX web panel, you are probably will get security warning:
Module: “Call Recording”, File: "/var/www/html/admin/modules/callrecording/functions.inc.php altered"
it won’t affect anything, just close this notification