<div dir="ltr">It seems all the codecs are are chosen in uppercase, as it seems to be listed here: <a href="http://wiki.freeswitch.org/wiki/Mod_native_file">http://wiki.freeswitch.org/wiki/Mod_native_file</a><div>The name for SPEEX codec is SPEEX, not spx, so that&#39;s why it chose it.</div>

<div>You can probably modify mod_speex to add an alias to load .spx files also.</div><div><br></div><div><span style="font-family:Verdana,Arial,Helvetica,sans-serif">-Avi </span></div><div>
<br><br><div class="gmail_quote">On Thu, Apr 19, 2012 at 7:25 PM, Bernard Fluixa <span dir="ltr">&lt;<a href="mailto:fluixab@bellsouth.net">fluixab@bellsouth.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div style="word-wrap:break-word">Avi - WeIl, I recorded one file yesterday with &quot;.SPEEX&quot; extension FROM Freeswitch and could play it with playback command. No problem. However, it is my understanding that speex format files have &quot;.spx&quot; extension. Why doesn&#39;t Freeswitch allows for &quot;.spx&quot; extension?  <div>

<br></div><div>.speex extension are not accepted. </div><div> </div><div>Thanks again</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>Bernard</div></font></span><div><div class="h5"><div>  <br><div><div>

On Apr 19, 2012, at 11:50 AM, Avi Marcus wrote:</div><br><blockquote type="cite"><div dir="ltr">Didn&#39;t we answer this yesterday? Bernard, have you tried it yet with a .SPEEX (or .speex?) extension?<div><br clear="all">

<div dir="ltr"><span style="font-family:Verdana,Arial,Helvetica,sans-serif"><span style="font-size:small">-Avi</span></span></div>


<br>
<br><br><div class="gmail_quote">On Thu, Apr 19, 2012 at 6:38 PM, Bernard Fluixa <span dir="ltr">&lt;<a href="mailto:fluixab@bellsouth.net" target="_blank">fluixab@bellsouth.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




Hello,<br>
<br>
I cannot play &quot;.spx&quot; (speex) file in commands such as originate… &amp;playback(file.spx). I double-checked that mod_speex is loaded OK. Freeswitch returns<br>
<br>
2012-04-19 11:35:40.532068 [ERR] switch_core_file.c:122 Invalid file format [spx] for [test.spx]!<br>
<br>
I converted file to wav format and could play it (speexdec test.spx test.wav) with playback command. I probably missed a point here but I would like to know how I can play speex files without having to convert them to wav first.<br>





<br>
Anyone?<br>
<br>
Thank you<br>
<br>
Bernard<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com/" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com/" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org/" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com</a><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><br></div></div>
_________________________________________________________________________<br>Professional FreeSWITCH Consulting Services:<br><a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br><a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>

<br>FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br><a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br><br>Official FreeSWITCH Sites<br><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>

<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br><a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><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><br></div></div></div></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">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></blockquote></div><br></div></div>