[Freeswitch-users] mod_native_file and speex

Cliff Wells cliff at develix.com
Fri Oct 7 06:40:29 MSD 2011


On Thu, 2011-10-06 at 01:09 -0700, Cliff Wells wrote:
> On Thu, 2011-10-06 at 00:42 -0400, Mathieu Rene wrote:
> > Hi,
> > 
> > I made a small tool to encode files for use with mod_native_file, it's being compiled automatically as part of the normal install process.
> > 
> > Try that:
> > fs_encode -l mod_speex file.wav file.SPEEX
> 
> Similar result: file appears to play successfully, but only silence is
> heard.  As you can see, it gets done playing rather quickly (message is
> actually about 20s in duration).
> 
> 2011-10-05 23:59:37.357566 [INFO] mod_native_file.c:94 Opening File [/usr/local/freeswitch/scripts/jovan-message.SPEEX] 8000hz
> 2011-10-05 23:59:37.357566 [DEBUG] switch_ivr_play_say.c:1302 Codec Activated L16 at 8000hz 1 channels 20ms

I just noticed the previous line states "Codec Activated L16 at 8000hz".
Why would the L16 codec be selected?  

Regards,
Cliff





Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list