[Freeswitch-users] Local stream

Dragos Oancea dragos at freeswitch.org
Thu Nov 28 12:55:14 UTC 2019


That's not an error, is merely a piece of information that FS is about to
resample.

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.


On Thu, Nov 7, 2019 at 6:08 PM Abdou khadre NDOYE <akndoye at groupechaka.com>
wrote:

> Hi,
>
> I have some trouble using mod_local_stream,
>
> When I place a file in the right path configured in local_stream.conf.xml
> file doesn’t played.
>
> Sometime I have this error when I use rate 8000 :
>
> 2019-11-07 10:53:14.620285 [DEBUG] switch_core_media.c:8494 Audio params
> are unchanged for sofia/internal/338600485 at 172.16.10.5.
> 2019-11-07 10:53:14.660286 [DEBUG] switch_ivr.c:625 sofia/internal/
> 315 at 172.16.10.50:5060 Command Execute playback(local_stream://moh)
> EXECUTE sofia/internal/315 at 172.16.10.50:5060 playback(local_stream://moh)
> 2019-11-07 10:53:14.660286 [DEBUG] switch_core_file.c:389 File moh sample
> rate 8000 doesn't match requested rate 16000
> 2019-11-07 10:53:14.660286 [DEBUG] switch_ivr_play_say.c:1497 Codec
> Activated L16 at 16000hz 1 channels 20ms
> 2019-11-07 10:53:14.680286 [NOTICE] switch_core_media.c:15605 Deactivating
> write resampler
>
> My config ;
>
> <directory name="moh" path="$${sounds_dir}/music/16000">
>     <param name="rate" value="16000"/>
>     <param name="shuffle" value="true"/>
>     <param name="channels" value="1"/>
>     <param name="interval" value="20"/>
>     <param name="timer-name" value="soft"/>
>   </directory>
>
> I need help.
>
> Thank
> _________________________________________________________________________
>
> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN
> services.
> Build your next product on our scalable cloud platform.
>
> Join our online community to chat in real time
> https://signalwire.community
>
> Professional FreeSWITCH Services
> sales at freeswitch.com
> https://freeswitch.com
>
> Official FreeSWITCH Sites
> https://freeswitch.com/oss
> https://freeswitch.org/confluence
> https://cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> https://freeswitch.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20191128/1e6594e9/attachment.html>


More information about the FreeSWITCH-users mailing list