Hi all,<div><br></div><div>Does anyone know how to have mod_say working using mod_native_file for the pronounced numbers? It seems mod_say has the .wav extension included in the source code...<br><div><br></div><div>Thanks.</div>
<div><meta http-equiv="content-type" content="text/html; charset=utf-8">-- <br>David.<br><br><div class="gmail_quote">2011/3/3 David Notivol <span dir="ltr"><<a href="mailto:dnotivol@gmail.com">dnotivol@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Thanks Steve for your prompt reply.<div><br></div><div>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.</div>
<div><br></div><div>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.</div>
<div>But I'm not sure this is the way to proceed, or if that can get to other problems...</div><div><br></div><div>Is there any way of having mod_say not forcing to use always .wav files and relying on mod_native_file ?</div>
<div><br></div><div>--<br>David<br><br><div class="gmail_quote">2011/3/3 Steven Ayre <span dir="ltr"><<a href="mailto:steveayre@gmail.com" target="_blank">steveayre@gmail.com</a>></span><div><div></div><div class="h5">
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Look at mod_nativefile - does that suit your needs?<br>
<br>
Steve on iPhone<br>
<div><div></div><div><br>
On 3 Mar 2011, at 12:19, David Notivol <<a href="mailto:dnotivol@gmail.com" target="_blank">dnotivol@gmail.com</a>> wrote:<br>
<br>
> Hi all,<br>
><br>
> I'm trying to setup an IVR server, and I'm using the session:say function from a LUA script.<br>
><br>
> 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.<br>
><br>
> 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?<br>
><br>
> Thanks in advance.<br>
><br>
> Regards,<br>
> David Notivol<br>
><br>
</div></div>> _______________________________________________<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" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<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" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div></div></div><br><br></div></blockquote></div>
</div></div>