<div dir="ltr">I suspect you&#39;re attempting to play the moh at a rate other than 8000, remove the /8000 on moh/8000, restart.<div><br></div><div>/b</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jun 2, 2015 at 6:07 PM,  <span dir="ltr">&lt;<a href="mailto:rick.jarvis@magicmail.mooo.com" target="_blank">rick.jarvis@magicmail.mooo.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div><div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">Loaded the module manually and could see it was looking for the files in <b><i>sounds/music/</i></b> but the files were in <b><i>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><i>local_stream://moh</i></b> to <b><i>sounds/music/moh/</i></b> ?</div><div style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><br></div><div style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">My definitions in local_stream.conf look like this:</div><div style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><br></div><div style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div style="margin:0px;font-size:14px;font-family:Monaco;color:rgb(52,189,38);background-color:rgb(0,0,0)"><span style="color:#f5f5f5">  </span><span style="color:#34bbc7">&lt;directory</span> name=&quot;moh/8000&quot; path=&quot;$${sounds_dir}/music/8000&quot;<span style="color:#34bbc7">&gt;</span></div><div style="margin:0px;font-size:14px;font-family:Monaco;color:rgb(52,189,38);background-color:rgb(0,0,0)"><span style="color:#f5f5f5">    </span><span style="color:#34bbc7">&lt;param</span> name=&quot;rate&quot; value=&quot;8000&quot;/<span style="color:#34bbc7">&gt;</span></div><div style="margin:0px;font-size:14px;font-family:Monaco;color:rgb(52,189,38);background-color:rgb(0,0,0)"><span style="color:#f5f5f5">    </span><span style="color:#34bbc7">&lt;param</span> name=&quot;shuffle&quot; value=&quot;true&quot;/<span style="color:#34bbc7">&gt;</span></div><div style="margin:0px;font-size:14px;font-family:Monaco;color:rgb(52,189,38);background-color:rgb(0,0,0)"><span style="color:#f5f5f5">    </span><span style="color:#34bbc7">&lt;param</span> name=&quot;channels&quot; value=&quot;1&quot;/<span style="color:#34bbc7">&gt;</span></div><div style="margin:0px;font-size:14px;font-family:Monaco;color:rgb(52,189,38);background-color:rgb(0,0,0)"><span style="color:#f5f5f5">    </span><span style="color:#34bbc7">&lt;param</span> name=&quot;interval&quot; value=&quot;20&quot;/<span style="color:#34bbc7">&gt;</span></div><div style="margin:0px;font-size:14px;font-family:Monaco;color:rgb(52,189,38);background-color:rgb(0,0,0)"><span style="color:#f5f5f5">    </span><span style="color:#34bbc7">&lt;param</span> name=&quot;timer-name&quot; value=&quot;soft&quot;/<span style="color:#34bbc7">&gt;</span></div><div style="margin:0px;font-size:14px;font-family:Monaco;color:rgb(52,187,199);background-color:rgb(0,0,0)"><span style="color:#f5f5f5">  </span>&lt;/directory&gt;</div></div></div></div><div><br></div><br><div><blockquote type="cite"><div><div class="h5"><div>On 2 Jun 2015, at 17:23, Michael Jerris &lt;<a href="mailto:mike@jerris.com" target="_blank">mike@jerris.com</a>&gt; wrote:</div><br></div></div><div><div><div class="h5"><div style="word-wrap:break-word">You will likely see something useful in the debug when you load mod_local_stream<div><br><div><blockquote type="cite"><div>On Jun 2, 2015, at 12:07 PM, Chris Tunbridge &lt;<a href="mailto:blasterjr@gmail.com" target="_blank">blasterjr@gmail.com</a>&gt; wrote:</div><br><div><div dir="ltr">So your local_stream.conf.xml has a profile called moh in it?<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jun 1, 2015 at 3:43 PM,  <span dir="ltr">&lt;<a href="mailto:rick.jarvis@magicmail.mooo.com" target="_blank">rick.jarvis@magicmail.mooo.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Hi all, I’m getting:<div><br></div><div><div style="margin:0px;font-size:14px;font-family:Monaco;color:rgb(175,173,36);background-color:rgb(0,0,0)">EXECUTE <a href="mailto:sofia/internal/501@10.0.0.1" target="_blank">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)">2015-06-01 22:35:59.233311 [WARNING] mod_local_stream.c:470 Unknown source moh, trying &#39;default&#39;</div><div style="margin:0px;font-size:14px;font-family:Monaco;color:rgb(195,55,32);background-color:rgb(0,0,0)">2015-06-01 22:35:59.233311 [ERR] mod_local_stream.c:479 Unknown source default</div></div><div><br></div><div>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><br></div><div>R</div></div></blockquote></div></div></div></blockquote></div></div></div></div></div>_________________________________________________________________________<span class=""><br>Professional FreeSWITCH Consulting Services: <br><a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br><a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br><br>Official FreeSWITCH Sites<br><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br><a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br><a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br><br>FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a></span></div></blockquote></div><br></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">







<p><font face="courier new, monospace"><b><i><font size="4">Brian West</font></i></b><br><span style="font-size:x-small"><a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a></span></font></p>
<p><font size="1" face="courier new, monospace"><img src="http://billing.freeswitch.org/templates/default/img/whmcslogo.png"><br></font></p><p><font size="2" face="monospace, monospace"><b><i>Twitter: @FreeSWITCH , @briankwest</i></b><br><a href="http://www.freeswitchbook.com" target="_blank">http://www.freeswitchbook.com</a><br><a href="http://www.freeswitchcookbook.com" target="_blank">http://www.freeswitchcookbook.com</a></font></p><p><font face="monospace, monospace">ClueCon 2015 <a href="https://www.cluecon.com/call-for-speakers/" target="_blank">Call for Speakers</a> | <a href="https://freeswitch.com/cart.php?gid=1" target="_blank">Register</a> TODAY! | Reddit: <a href="https://www.reddit.com/r/freeswitch" target="_blank">/r/freeswitch</a></font></p>
<p><font size="2" face="monospace, monospace"><b>T:</b>+19184209001 | <b>F:</b>+19184209002 | <b>M:</b>+1918424WEST (9378)<br><b>iNUM:</b>+883 5100 1420 9001 | <b>ISN:</b>410*543 | <b>Skype:</b>briankwest</font></p></div></div></div></div></div></div></div></div>
</div>