Voice Recording per extension directory

Hi

I have tried to edit extensions_additional.conf and changed

exten => s,n,MixMonitor(${MIXMON_DIR}${YEAR}/${MONTH}/${DAY}/${CALLFILENAME}.${MIXMON_FORMAT},a,${MIXMON_POST})

to

exten => s,n,MixMonitor(${MIXMON_DIR}${EXTEN}/${CALLFILENAME}.${MIXMON_FORMAT},a,${MIXMON_POST})

but then it is saved in directory RECORD and not in a folder with the extension number.

Do anybody have advice.

Thanks

head -6 /etc/asterisk/extensions_additional.conf

Hi

thanks for the speedy reply. I am rather new to voip, what do you mean by head -6 /etc/asterisk/extensions_additional.conf

Thanks

The ${EXTEN} variable is reserved for a specific use in Asterisk, read up on that. What you probably want to use is ${AMPUSER}. As Dicko hinted, changes to this file will be overwritten by FreePBX, you can’t edit it directly.

head -6 /etc/asterisk/extensions_additional.conf in the console or putty.