Custom MOH Classes not applying, Also can't record System Messages from Extension

Two issues - one, files were not owned by Asterisk (they were owned by root) so I chowned them - i’m not even sure if this was technically necessary though because:

Like a silly plank:

  1. I hadn’t realised that in the new updated FreePBX, you can simply upload your music in the GUI. Please note: You’re likely to have to amend your php.ini values (Apache) to allow for larger music files.

  2. I had changed my phone password to a much more secure one and forgot to reconfigure my desk phone with it.

Lessons learnt, never overlook the basics. You never know, this might help someone else!

Re php.ini - MOH file size question

So:

  1. Check files recursively are owned by Asterisk and not root.

  2. New music upload functionality in PBX GUI gets around the issue of SCPing files anyway (in conjunction with ensuring php.ini max upload and max post sizes are high enough (you need to restart apache after doing that)

  3. Always make sure your desk phone is working - particularly when you have two boysterous cats!

Kind Regards.
(this post was made in March 2024).