mod_local_stream.so won't load after deleting custom music on hold

eggers

New Member
Dec 18, 2018
2
0
0
37
I uploaded a custom music on hold .mp3 file. It wouldn't play due to some codec error. I deleted the file thinking I would re upload it as .wav file. All of my default music on hold vanished and the mod_local_stream won't start anymore.

1732243354443.png

1732243377936.png

I looked at the /usr/share/freeswitch/sounds/music/default was empty. I copied the default .wav files/folders from another PBX and reset the permissions to match. I verified that I still have the /etc/freeswitch/autoload_configs/local_stream.conf and /usr/lib/freeswitch/mod/mod_local_stream.so

When I run the following in fs_cli:
freeswitch@pbx> load mod_local_stream
+OK Reloading XML
-ERR [module load file routine returned an error]

2024-11-21 18:39:07.256359 [INFO] mod_enum.c:884 ENUM Reloaded
2024-11-21 18:39:07.256359 [CRIT] switch_loadable_module.c:1786 Error Loading module /usr/lib/freeswitch/mod/mod_local_stream.so
**Module load routine returned an error**

I rebooted the server. Still have the same issue. Is there a way to re-install the music on hold and the mod_local_stream module?