ARI Call Monitor Settings not saved

I just install FreePBX and in ARI I can not change setting of how calls are monitored. I change the radio buttons from on demand to all ways, hit the update button, data is submitted, page refresh but the settings remain “On-Demand”. What I have missed? Maybe it’s a file permissions related issue. Where are that settings saved in a file or in a data base? Google a lot before posting here but found nothing.

Modify php script file ‘www/recording/modules/settings.module’.

Line 404 is “if ($exten != $ARI_ADMIN_USERNAME)”;
Change from “if ($exten != $ARI_ADMIN_USERNAME)” to “if ($exten == $ARI_ADMIN_USERNAME)”.

Then it’s OK!!!