Wrong Music on Hold on Inbound Routes

I need to have different Music on Hold’s for different inbound routes, however no matter what MoH I select, only the “default” MoH is played. I can change the MoH on the Outbound Routers, but NOT on the Inbound.

We are using FreePBX Version 2.8.1.4.

Please note that if I change the default MoH using musiconhold_additional.conf, then I get the music that I selected for default. I’ve added added additional Categories and tried to change the MoH on each Inbound routed, but I still only get the default MoH.

All is working perfectly on the Outbound routes, this only occurs on the Inbound routes.

I found the following link that fixes the bug, but I believe we’d have to upgrade our FreePBX. I’m afraid it may break something, as this is a production server. www.freepbx.org/trac/ticket/5109

You can fix that by upgrading your FreePBX if it is truly FreePBX, your version suggests you are using Elastix, they forked up FreePBX a few years ago so anything we say here will be possibly wrong, so you will need get help from them or you will indeed “break things”

Looks like I’m have the same issue as above with setting music on inbound routes only. If I manually edit /etc/asterisk/musiconhold_additional.conf then the behavior works as expected.

Here is the file before:
[MotownHits]
mode=custom
application=/usr/bin/mpg123 -q -r 8000 -f 32768 --mono -s http://205.164.62.15:10044
[default]
mode=files
directory=/var/lib/asterisk/moh/
sort=alpha
[none]
mode=files
directory=/var/lib/asterisk/moh/.nomusic_reserved
sort=alpha

after:

[MotownHits]
mode=custom
application=/usr/bin/mpg123 -q -r 8000 -f 32768 --mono -s http://205.164.62.15:10044
[default]
mode=custom
application=/usr/bin/mpg123 -q -r 8000 -f 32768 --mono -s http://205.164.62.15:10044

[none]
mode=files
directory=/var/lib/asterisk/moh/.nomusic_reserved
sort=alpha

I know this file is auto generated and there is no need to edit it manually but asterisk will simply not honor the setting.

The version of freepbx I’m using is:

PBX Firmware: 5.211.65-12
PBX Service Pack: 1.0.0.0

The version of Asterisk is:

Asterisk (Ver. 11.9.0)

I know there was a patch to have this fixed but I believe that I’m all up to date and have purchased the system admin pro module and it says I’m up to date.

The original install was 2.10 and I upgraded using the upgrade scrips, just wanted to put that out there as a data point.