I suspect you're attempting to play the moh at a rate other than 8000, remove the /8000 on moh/8000, restart. /b On Tue, Jun 2, 2015 at 6:07 PM, <rick.jarvis@magicmail.mooo.com> wrote:
Loaded the module manually and could see it was looking for the files in *sounds/music/* but the files were in *sounds/music/default/* - moved them up a directory and it works. But I guess it shouldn’t be falling back to default anyway. How do I reference *local_stream://moh* to *sounds/music/moh/* ?
My definitions in local_stream.conf look like this:
<directory name="moh/8000" path="$${sounds_dir}/music/8000"> <param name="rate" value="8000"/> <param name="shuffle" value="true"/> <param name="channels" value="1"/> <param name="interval" value="20"/> <param name="timer-name" value="soft"/> </directory>
On 2 Jun 2015, at 17:23, Michael Jerris <mike@jerris.com> wrote:
You will likely see something useful in the debug when you load mod_local_stream
On Jun 2, 2015, at 12:07 PM, Chris Tunbridge <blasterjr@gmail.com> wrote:
So your local_stream.conf.xml has a profile called moh in it?
On Mon, Jun 1, 2015 at 3:43 PM, <rick.jarvis@magicmail.mooo.com> wrote:
Hi all, I’m getting:
EXECUTE sofia/internal/501@10.0.0.1 playback(local_stream://moh) 2015-06-01 22:35:59.233311 [WARNING] mod_local_stream.c:470 Unknown source moh, trying 'default' 2015-06-01 22:35:59.233311 [ERR] mod_local_stream.c:479 Unknown source default
The wav files are there, mod_local_stream is loaded, and local_stream.conf.xml is the same as vanilla. Must be missing some config part, I’ve even grep’d vanilla for ‘moh’ to see if I can find something I haven’t got, but that hasn’t helped. What else can I check?
R
_________________________________________________________________________ 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
_________________________________________________________________________ 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
-- *Brian West* brian@freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com ClueCon 2015 Call for Speakers <https://www.cluecon.com/call-for-speakers/> | Register <https://freeswitch.com/cart.php?gid=1> TODAY! | Reddit: /r/freeswitch <https://www.reddit.com/r/freeswitch> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest