<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div apple-content-edited="true" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Loaded the module manually and could see it was looking for the files in&nbsp;<b class=""><i class="">sounds/music/</i></b> but the files were in <b class=""><i class="">sounds/music/default/</i></b> - moved them up a directory and it works. But I guess it shouldn’t be falling back to default anyway. How do I reference <b class=""><i class="">local_stream://moh</i></b> to <b class=""><i class="">sounds/music/moh/</i></b> ?</div><div style="letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""></div><div style="letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">My definitions in local_stream.conf look like this:</div><div style="letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""></div><div style="letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="margin: 0px; font-size: 14px; font-family: Monaco; color: rgb(52, 189, 38); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #f5f5f5" class="">&nbsp;&nbsp;</span><span style="font-variant-ligatures: no-common-ligatures; color: #34bbc7" class="">&lt;directory</span> name="moh/8000" path="$${sounds_dir}/music/8000"<span style="font-variant-ligatures: no-common-ligatures; color: #34bbc7" class="">&gt;</span></div><div style="margin: 0px; font-size: 14px; font-family: Monaco; color: rgb(52, 189, 38); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #f5f5f5" class="">&nbsp; &nbsp; </span><span style="font-variant-ligatures: no-common-ligatures; color: #34bbc7" class="">&lt;param</span> name="rate" value="8000"/<span style="font-variant-ligatures: no-common-ligatures; color: #34bbc7" class="">&gt;</span></div><div style="margin: 0px; font-size: 14px; font-family: Monaco; color: rgb(52, 189, 38); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #f5f5f5" class="">&nbsp; &nbsp; </span><span style="font-variant-ligatures: no-common-ligatures; color: #34bbc7" class="">&lt;param</span> name="shuffle" value="true"/<span style="font-variant-ligatures: no-common-ligatures; color: #34bbc7" class="">&gt;</span></div><div style="margin: 0px; font-size: 14px; font-family: Monaco; color: rgb(52, 189, 38); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #f5f5f5" class="">&nbsp; &nbsp; </span><span style="font-variant-ligatures: no-common-ligatures; color: #34bbc7" class="">&lt;param</span> name="channels" value="1"/<span style="font-variant-ligatures: no-common-ligatures; color: #34bbc7" class="">&gt;</span></div><div style="margin: 0px; font-size: 14px; font-family: Monaco; color: rgb(52, 189, 38); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #f5f5f5" class="">&nbsp; &nbsp; </span><span style="font-variant-ligatures: no-common-ligatures; color: #34bbc7" class="">&lt;param</span> name="interval" value="20"/<span style="font-variant-ligatures: no-common-ligatures; color: #34bbc7" class="">&gt;</span></div><div style="margin: 0px; font-size: 14px; font-family: Monaco; color: rgb(52, 189, 38); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #f5f5f5" class="">&nbsp; &nbsp; </span><span style="font-variant-ligatures: no-common-ligatures; color: #34bbc7" class="">&lt;param</span> name="timer-name" value="soft"/<span style="font-variant-ligatures: no-common-ligatures; color: #34bbc7" class="">&gt;</span></div><div style="margin: 0px; font-size: 14px; font-family: Monaco; color: rgb(52, 187, 199); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #f5f5f5" class="">&nbsp; </span>&lt;/directory&gt;</div></div></div></div><div class=""><br class=""></div><br class=""><div><blockquote type="cite" class=""><div class="">On 2 Jun 2015, at 17:23, Michael Jerris &lt;<a href="mailto:mike@jerris.com" class="">mike@jerris.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">You will likely see something useful in the debug when you load mod_local_stream<div class=""><br class=""><div class=""><blockquote type="cite" class=""><div class="">On Jun 2, 2015, at 12:07 PM, Chris Tunbridge &lt;<a href="mailto:blasterjr@gmail.com" class="">blasterjr@gmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">So your local_stream.conf.xml has a profile called moh in it?<br class=""></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Mon, Jun 1, 2015 at 3:43 PM,  <span dir="ltr" class="">&lt;<a href="mailto:rick.jarvis@magicmail.mooo.com" target="_blank" class="">rick.jarvis@magicmail.mooo.com</a>&gt;</span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word" class="">Hi all, I’m getting:<div class=""><br class=""></div><div class=""><div style="margin:0px;font-size:14px;font-family:Monaco;color:rgb(175,173,36);background-color:rgb(0,0,0)" class="">EXECUTE <a href="mailto:sofia/internal/501@10.0.0.1" target="_blank" class="">sofia/internal/501@10.0.0.1</a> playback(local_stream://moh)</div><div style="margin:0px;font-size:14px;font-family:Monaco;color:rgb(213,59,211);background-color:rgb(0,0,0)" class="">2015-06-01 22:35:59.233311 [WARNING] mod_local_stream.c:470 Unknown source moh, trying 'default'</div><div style="margin:0px;font-size:14px;font-family:Monaco;color:rgb(195,55,32);background-color:rgb(0,0,0)" class="">2015-06-01 22:35:59.233311 [ERR] mod_local_stream.c:479 Unknown source default</div></div><div class=""><br class=""></div><div class="">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?</div><div class=""><br class=""></div><div class="">R</div></div></blockquote></div></div></div></blockquote></div></div></div>_________________________________________________________________________<br class="">Professional FreeSWITCH Consulting Services: <br class=""><a href="mailto:consulting@freeswitch.org" class="">consulting@freeswitch.org</a><br class="">http://www.freeswitchsolutions.com<br class=""><br class="">Official FreeSWITCH Sites<br class="">http://www.freeswitch.org<br class="">http://confluence.freeswitch.org<br class="">http://www.cluecon.com<br class=""><br class="">FreeSWITCH-users mailing list<br class="">FreeSWITCH-users@lists.freeswitch.org<br class="">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br class="">UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br class="">http://www.freeswitch.org</div></blockquote></div><br class=""></body></html>