[Freeswitch-users] Local stream

Abdou khadre NDOYE akndoye at groupechaka.com
Thu Nov 7 13:34:49 UTC 2019


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
2019-11-07 10:53:14.660286 [DEBUG] switch_ivr.c:625 sofia/internal/315 at Command Execute playback(local_stream://moh)
EXECUTE sofia/internal/315 at 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"/>

I need help.


More information about the FreeSWITCH-users mailing list