my question is: how to make it works like before. I seek for some help but not sure that I want try anything, just i case if I mess-up my FreePBX system.
My MOH setup is mpg123 streaming a local stream. I worked like this since 2017 without any issues…
This looks related to the recent security changes where certain commands were restricted to prevent abuse. Since FreePBX is updated, the behavior may be intentional rather than a broken setup. I’d avoid manually changing permissions unless you know the impact. Check the FreePBX release notes or security updates for the recommended way to re-enable MOH functionality safely.
For the security issue. The server is running on a local network behind a NAT. So, its less scary than a server directly facing the public internet. I think…
Best solution could be that you can raise issue in github for Sangoma to add “/bin/mpg123” into the allowed list or else you can create soft link in your system to have `/usr/bin/mpg123` point to your actual binary and use /usr/bin/mpg123 path to avoid your temp code changes.
Please note - upgrade will overwrite your changes so better to take proper solution path instead of doing such manual code changes.
Right but how you do them no one was jiving on plus there’s that whole, can just do a work around for it thing. Not really a “security solution” overall.