<div dir="ltr">That's not an error, is merely a piece of information that FS is about to resample.<div><br></div><div>You're supposed to use the 8000 hz section for 8000 hz moh. If you dropped the file in the 16000 directory it won't find it with 8000 hz calls.</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Nov 7, 2019 at 6:08 PM Abdou khadre NDOYE <<a href="mailto:akndoye@groupechaka.com">akndoye@groupechaka.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
I have some trouble using mod_local_stream,<br>
<br>
When I place a file in the right path configured in local_stream.conf.xml file doesn’t played.<br>
<br>
Sometime I have this error when I use rate 8000 :<br>
<br>
2019-11-07 10:53:14.620285 [DEBUG] switch_core_media.c:8494 Audio params are unchanged for sofia/internal/<a href="mailto:338600485@172.16.10.5" target="_blank">338600485@172.16.10.5</a>.<br>
2019-11-07 10:53:14.660286 [DEBUG] switch_ivr.c:625 sofia/internal/<a href="http://315@172.16.10.50:5060" rel="noreferrer" target="_blank">315@172.16.10.50:5060</a> Command Execute playback(local_stream://moh)<br>
EXECUTE sofia/internal/<a href="http://315@172.16.10.50:5060" rel="noreferrer" target="_blank">315@172.16.10.50:5060</a> playback(local_stream://moh)<br>
2019-11-07 10:53:14.660286 [DEBUG] switch_core_file.c:389 File moh sample rate 8000 doesn't match requested rate 16000<br>
2019-11-07 10:53:14.660286 [DEBUG] switch_ivr_play_say.c:1497 Codec Activated L16@16000hz 1 channels 20ms<br>
2019-11-07 10:53:14.680286 [NOTICE] switch_core_media.c:15605 Deactivating write resampler<br>
<br>
My config ; <br>
<br>
<directory name="moh" path="$${sounds_dir}/music/16000"><br>
    <param name="rate" value="16000"/><br>
    <param name="shuffle" value="true"/><br>
    <param name="channels" value="1"/><br>
    <param name="interval" value="20"/><br>
    <param name="timer-name" value="soft"/><br>
  </directory><br>
<br>
I need help.<br>
<br>
Thank<br>
_________________________________________________________________________<br>
<br>
The FreeSWITCH project is sponsored by SignalWire <a href="https://signalwire.com" rel="noreferrer" target="_blank">https://signalwire.com</a><br>
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.<br>
Build your next product on our scalable cloud platform.<br>
<br>
Join our online community to chat in real time <a href="https://signalwire.community" rel="noreferrer" target="_blank">https://signalwire.community</a><br>
<br>
Professional FreeSWITCH Services<br>
<a href="mailto:sales@freeswitch.com" target="_blank">sales@freeswitch.com</a><br>
<a href="https://freeswitch.com" rel="noreferrer" target="_blank">https://freeswitch.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="https://freeswitch.com/oss" rel="noreferrer" target="_blank">https://freeswitch.com/oss</a><br>
<a href="https://freeswitch.org/confluence" rel="noreferrer" target="_blank">https://freeswitch.org/confluence</a><br>
<a href="https://cluecon.com" rel="noreferrer" target="_blank">https://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" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="https://freeswitch.com" rel="noreferrer" target="_blank">https://freeswitch.com</a></blockquote></div>