Hi all,
Thanks Steve for your prompt reply.Yes, mod_native_file does suit my needs for regular audio files; but I think it doesn't for numbers. Actually, I'm using say to pronounce numbers, but it seems mod_say forces FS to use the wav files.I was having a look at the source code for the mod_say_en, and I removed some of the ".wav" strings for the digits and recompiled it; and then the native_file was triggered and played the .PCMU file (or any other needed codec) instead of the .wav file.But I'm not sure this is the way to proceed, or if that can get to other problems...Is there any way of having mod_say not forcing to use always .wav files and relying on mod_native_file ?--
David2011/3/3 Steven Ayre <steveayre@gmail.com>
Look at mod_nativefile - does that suit your needs?
Steve on iPhone
> _______________________________________________
On 3 Mar 2011, at 12:19, David Notivol <dnotivol@gmail.com> wrote:
> Hi all,
>
> I'm trying to setup an IVR server, and I'm using the session:say function from a LUA script.
>
> My question is if there's any way of having mod_say playing audios different than audio files; I mean audios encoded in G729, G711ulaw, G711alaw, etc. to avoid having FS making transcoding every time I run a say command.
>
> Checking the folders tree for the sounds, I can see the place for the different languages, voices, and wav qualities (8k, 16k...) is clearly specified; but is it a way to place files encoded in different codecs?
>
> Thanks in advance.
>
> Regards,
> David Notivol
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users@lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org