Music on Hold not working
I'm getting this error when I try to access music on hold: 2015-11-08 14:22:03.488547 [WARNING] mod_local_stream.c:658 Unknown source moh, trying 'default' 2015-11-08 14:22:03.488547 [ERR] mod_local_stream.c:667 Unknown source default If I execute: show_local_stream outputs -ERR Cannot locate local_stream outputs! So it appears that somehow FS can't see my music files. But they're in $${sounds_dir} and FS can eval that to: /usr/share/freeswitch/sounds I have verified that the sound files are there. I’m wondering if it’s a permissions issue as this is a brand new installation of FreeSwitch on a brand new installation of Debian 8.2 (Jessie). Should /etc/freeswitch be chown -R freeswitch:freeswitch? What about /usr/share/freeswitch? Should that also be chown -R freeswitch:freeswitch as well? ------------------------------ Mike Loiterman Cell: 630-302-4944 Email: mike@ascendency.net
Hi Mike, I had the same issue and on my machine the default configuration is pointing the the wrong directory. Is pointing to $${sounds_dir}/music/8000 and the files are located under $${sounds_dir}/music/default/8000 Can you verify the configuration file /etc/freeswitch/autoload_configs/local_stream.conf.xml is pointing to the correct folder? Cheers, Raphael
On 09 Nov 2015, at 01:37, Mike Loiterman <mike@ascendency.net> wrote:
I'm getting this error when I try to access music on hold: 2015-11-08 14:22:03.488547 [WARNING] mod_local_stream.c:658 Unknown source moh, trying 'default' 2015-11-08 14:22:03.488547 [ERR] mod_local_stream.c:667 Unknown source default
If I execute: show_local_stream outputs -ERR Cannot locate local_stream outputs!
So it appears that somehow FS can't see my music files. But they're in $${sounds_dir} and FS can eval that to: /usr/share/freeswitch/sounds
I have verified that the sound files are there.
I’m wondering if it’s a permissions issue as this is a brand new installation of FreeSwitch on a brand new installation of Debian 8.2 (Jessie).
Should /etc/freeswitch be chown -R freeswitch:freeswitch?
What about /usr/share/freeswitch? Should that also be chown -R freeswitch:freeswitch as well?
------------------------------ Mike Loiterman Cell: 630-302-4944 Email: mike@ascendency.net
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
This is a bug in our packages putting the music in the wrong place that I thought was already fixed . I will make sure this gets corrected today. In the mean time, you can manually move the music files out of the default dir On Monday, November 9, 2015, Raphael Lechner <raphael.lechner@gmail.com> wrote:
Hi Mike,
I had the same issue and on my machine the default configuration is pointing the the wrong directory. Is pointing to $${sounds_dir}/music/8000 and the files are located under $${sounds_dir}/music/default/8000
Can you verify the configuration file /etc/freeswitch/autoload_configs/local_stream.conf.xml is pointing to the correct folder?
Cheers, Raphael
On 09 Nov 2015, at 01:37, Mike Loiterman <mike@ascendency.net <javascript:;>> wrote:
I'm getting this error when I try to access music on hold: 2015-11-08 14:22:03.488547 [WARNING] mod_local_stream.c:658 Unknown source moh, trying 'default' 2015-11-08 14:22:03.488547 [ERR] mod_local_stream.c:667 Unknown source default
If I execute: show_local_stream outputs -ERR Cannot locate local_stream outputs!
So it appears that somehow FS can't see my music files. But they're in $${sounds_dir} and FS can eval that to: /usr/share/freeswitch/sounds
I have verified that the sound files are there.
I’m wondering if it’s a permissions issue as this is a brand new installation of FreeSwitch on a brand new installation of Debian 8.2 (Jessie).
Should /etc/freeswitch be chown -R freeswitch:freeswitch?
What about /usr/share/freeswitch? Should that also be chown -R freeswitch:freeswitch as well?
------------------------------ Mike Loiterman Cell: 630-302-4944 Email: mike@ascendency.net <javascript:;>
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <javascript:;> http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <javascript:;> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <javascript:;> http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <javascript:;> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (3)
-
Michael Jerris
-
Mike Loiterman
-
Raphael Lechner