Hello, I cannot play ".spx" (speex) file in commands such as originate… &playback(file.spx). I double-checked that mod_speex is loaded OK. Freeswitch returns 2012-04-19 11:35:40.532068 [ERR] switch_core_file.c:122 Invalid file format [spx] for [test.spx]! 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. Anyone? Thank you Bernard
Didn't we answer this yesterday? Bernard, have you tried it yet with a .SPEEX (or .speex?) extension? -Avi On Thu, Apr 19, 2012 at 6:38 PM, Bernard Fluixa <fluixab@bellsouth.net>wrote:
Hello,
I cannot play ".spx" (speex) file in commands such as originate… &playback(file.spx). I double-checked that mod_speex is loaded OK. Freeswitch returns
2012-04-19 11:35:40.532068 [ERR] switch_core_file.c:122 Invalid file format [spx] for [test.spx]!
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.
Anyone?
Thank you
Bernard _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
Avi - WeIl, I recorded one file yesterday with ".SPEEX" extension FROM Freeswitch and could play it with playback command. No problem. However, it is my understanding that speex format files have ".spx" extension. Why doesn't Freeswitch allows for ".spx" extension? .speex extension are not accepted. Thanks again Bernard On Apr 19, 2012, at 11:50 AM, Avi Marcus wrote:
Didn't we answer this yesterday? Bernard, have you tried it yet with a .SPEEX (or .speex?) extension?
-Avi
On Thu, Apr 19, 2012 at 6:38 PM, Bernard Fluixa <fluixab@bellsouth.net> wrote: Hello,
I cannot play ".spx" (speex) file in commands such as originate… &playback(file.spx). I double-checked that mod_speex is loaded OK. Freeswitch returns
2012-04-19 11:35:40.532068 [ERR] switch_core_file.c:122 Invalid file format [spx] for [test.spx]!
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.
Anyone?
Thank you
Bernard _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
It seems all the codecs are are chosen in uppercase, as it seems to be listed here: http://wiki.freeswitch.org/wiki/Mod_native_file The name for SPEEX codec is SPEEX, not spx, so that's why it chose it. You can probably modify mod_speex to add an alias to load .spx files also. -Avi On Thu, Apr 19, 2012 at 7:25 PM, Bernard Fluixa <fluixab@bellsouth.net>wrote:
Avi - WeIl, I recorded one file yesterday with ".SPEEX" extension FROM Freeswitch and could play it with playback command. No problem. However, it is my understanding that speex format files have ".spx" extension. Why doesn't Freeswitch allows for ".spx" extension?
.speex extension are not accepted.
Thanks again
Bernard
On Apr 19, 2012, at 11:50 AM, Avi Marcus wrote:
Didn't we answer this yesterday? Bernard, have you tried it yet with a .SPEEX (or .speex?) extension?
-Avi
On Thu, Apr 19, 2012 at 6:38 PM, Bernard Fluixa <fluixab@bellsouth.net>wrote:
Hello,
I cannot play ".spx" (speex) file in commands such as originate… &playback(file.spx). I double-checked that mod_speex is loaded OK. Freeswitch returns
2012-04-19 11:35:40.532068 [ERR] switch_core_file.c:122 Invalid file format [spx] for [test.spx]!
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.
Anyone?
Thank you
Bernard _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
no you, cant modify it. This is a function of mod_native_file and its limited to matching the iananames they registered the codec with. On Thu, Apr 19, 2012 at 11:59 AM, Avi Marcus <avi@avimarcus.net> wrote:
It seems all the codecs are are chosen in uppercase, as it seems to be listed here: http://wiki.freeswitch.org/wiki/Mod_native_file The name for SPEEX codec is SPEEX, not spx, so that's why it chose it. You can probably modify mod_speex to add an alias to load .spx files also.
-Avi
On Thu, Apr 19, 2012 at 7:25 PM, Bernard Fluixa <fluixab@bellsouth.net> wrote:
Avi - WeIl, I recorded one file yesterday with ".SPEEX" extension FROM Freeswitch and could play it with playback command. No problem. However, it is my understanding that speex format files have ".spx" extension. Why doesn't Freeswitch allows for ".spx" extension?
.speex extension are not accepted.
Thanks again
Bernard
On Apr 19, 2012, at 11:50 AM, Avi Marcus wrote:
Didn't we answer this yesterday? Bernard, have you tried it yet with a .SPEEX (or .speex?) extension?
-Avi
On Thu, Apr 19, 2012 at 6:38 PM, Bernard Fluixa <fluixab@bellsouth.net> wrote:
Hello,
I cannot play ".spx" (speex) file in commands such as originate… &playback(file.spx). I double-checked that mod_speex is loaded OK. Freeswitch returns
2012-04-19 11:35:40.532068 [ERR] switch_core_file.c:122 Invalid file format [spx] for [test.spx]!
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.
Anyone?
Thank you
Bernard _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
There's still something I'm not clear with. Here's what I did 1) Converted a ".wav" file to Speex with speex : speexenc a.wav a.SPEEX 2) Call a user with x-Lite soft phone: originate user/1001 &playback(/home/sounds/a.SPEEX) ==> file is open and played but one can hear only noise squelch. What am I doing wrong? FYI, I then converted a.SPEEX file back to wav format and could play that wav file. On Apr 19, 2012, at 1:19 PM, Anthony Minessale wrote:
no you, cant modify it. This is a function of mod_native_file and its limited to matching the iananames they registered the codec with.
On Thu, Apr 19, 2012 at 11:59 AM, Avi Marcus <avi@avimarcus.net> wrote:
It seems all the codecs are are chosen in uppercase, as it seems to be listed here: http://wiki.freeswitch.org/wiki/Mod_native_file The name for SPEEX codec is SPEEX, not spx, so that's why it chose it. You can probably modify mod_speex to add an alias to load .spx files also.
-Avi
On Thu, Apr 19, 2012 at 7:25 PM, Bernard Fluixa <fluixab@bellsouth.net> wrote:
Avi - WeIl, I recorded one file yesterday with ".SPEEX" extension FROM Freeswitch and could play it with playback command. No problem. However, it is my understanding that speex format files have ".spx" extension. Why doesn't Freeswitch allows for ".spx" extension?
.speex extension are not accepted.
Thanks again
Bernard
On Apr 19, 2012, at 11:50 AM, Avi Marcus wrote:
Didn't we answer this yesterday? Bernard, have you tried it yet with a .SPEEX (or .speex?) extension?
-Avi
On Thu, Apr 19, 2012 at 6:38 PM, Bernard Fluixa <fluixab@bellsouth.net> wrote:
Hello,
I cannot play ".spx" (speex) file in commands such as originate… &playback(file.spx). I double-checked that mod_speex is loaded OK. Freeswitch returns
2012-04-19 11:35:40.532068 [ERR] switch_core_file.c:122 Invalid file format [spx] for [test.spx]!
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.
Anyone?
Thank you
Bernard _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
This sounds like a totally different issue. Please try using FreeSWITCH's encoding functionality: http://wiki.freeswitch.org/wiki/Mod_native_file#Script_to_convert_a_sound_fi... -Avi On Thu, Apr 19, 2012 at 8:29 PM, Bernard Fluixa <fluixab@bellsouth.net>wrote:
There's still something I'm not clear with. Here's what I did
1) Converted a ".wav" file to Speex with speex : speexenc a.wav a.SPEEX 2) Call a user with x-Lite soft phone: originate user/1001 &playback(/home/sounds/a.SPEEX)
==> file is open and played but one can hear only noise squelch. What am I doing wrong?
FYI, I then converted a.SPEEX file back to wav format and could play that wav file.
On Apr 19, 2012, at 1:19 PM, Anthony Minessale wrote:
no you, cant modify it. This is a function of mod_native_file and its limited to matching the iananames they registered the codec with.
On Thu, Apr 19, 2012 at 11:59 AM, Avi Marcus <avi@avimarcus.net> wrote:
It seems all the codecs are are chosen in uppercase, as it seems to be listed here: http://wiki.freeswitch.org/wiki/Mod_native_file The name for SPEEX codec is SPEEX, not spx, so that's why it chose it. You can probably modify mod_speex to add an alias to load .spx files also.
-Avi
On Thu, Apr 19, 2012 at 7:25 PM, Bernard Fluixa <fluixab@bellsouth.net> wrote:
Avi - WeIl, I recorded one file yesterday with ".SPEEX" extension FROM Freeswitch and could play it with playback command. No problem.
However, it
is my understanding that speex format files have ".spx" extension. Why doesn't Freeswitch allows for ".spx" extension?
.speex extension are not accepted.
Thanks again
Bernard
On Apr 19, 2012, at 11:50 AM, Avi Marcus wrote:
Didn't we answer this yesterday? Bernard, have you tried it yet with a .SPEEX (or .speex?) extension?
-Avi
On Thu, Apr 19, 2012 at 6:38 PM, Bernard Fluixa <fluixab@bellsouth.net
wrote:
Hello,
I cannot play ".spx" (speex) file in commands such as originate… &playback(file.spx). I double-checked that mod_speex is loaded OK. Freeswitch returns
2012-04-19 11:35:40.532068 [ERR] switch_core_file.c:122 Invalid file format [spx] for [test.spx]!
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.
Anyone?
Thank you
Bernard
Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
/usr/local/freeswitch/bin/fs_encode -l mod_speex a.wav a.SPEEX fs_encode log: 2012-04-19 14:37:08.055049 [INFO] mod_native_file.c:94 Opening File [a.SPEEX] 8000hz Frame size is 160 I got the a.SPEEX file and same squelch noise when playing it. 2012-04-19 14:37:19.751293 [INFO] mod_native_file.c:94 Opening File [a.SPEEX] 8000hz 2012-04-19 14:37:19.751293 [DEBUG] switch_ivr_play_say.c:1309 Codec Activated L16@8000hz 1 channels 20ms Any specific parameters to pass to fs_encode or playback? Thanks Bernard On Apr 19, 2012, at 1:35 PM, Avi Marcus wrote:
This sounds like a totally different issue. Please try using FreeSWITCH's encoding functionality: http://wiki.freeswitch.org/wiki/Mod_native_file#Script_to_convert_a_sound_fi...
-Avi
On Thu, Apr 19, 2012 at 8:29 PM, Bernard Fluixa <fluixab@bellsouth.net> wrote: There's still something I'm not clear with. Here's what I did
1) Converted a ".wav" file to Speex with speex : speexenc a.wav a.SPEEX 2) Call a user with x-Lite soft phone: originate user/1001 &playback(/home/sounds/a.SPEEX)
==> file is open and played but one can hear only noise squelch. What am I doing wrong?
FYI, I then converted a.SPEEX file back to wav format and could play that wav file.
On Apr 19, 2012, at 1:19 PM, Anthony Minessale wrote:
no you, cant modify it. This is a function of mod_native_file and its limited to matching the iananames they registered the codec with.
On Thu, Apr 19, 2012 at 11:59 AM, Avi Marcus <avi@avimarcus.net> wrote:
It seems all the codecs are are chosen in uppercase, as it seems to be listed here: http://wiki.freeswitch.org/wiki/Mod_native_file The name for SPEEX codec is SPEEX, not spx, so that's why it chose it. You can probably modify mod_speex to add an alias to load .spx files also.
-Avi
On Thu, Apr 19, 2012 at 7:25 PM, Bernard Fluixa <fluixab@bellsouth.net> wrote:
Avi - WeIl, I recorded one file yesterday with ".SPEEX" extension FROM Freeswitch and could play it with playback command. No problem. However, it is my understanding that speex format files have ".spx" extension. Why doesn't Freeswitch allows for ".spx" extension?
.speex extension are not accepted.
Thanks again
Bernard
On Apr 19, 2012, at 11:50 AM, Avi Marcus wrote:
Didn't we answer this yesterday? Bernard, have you tried it yet with a .SPEEX (or .speex?) extension?
-Avi
On Thu, Apr 19, 2012 at 6:38 PM, Bernard Fluixa <fluixab@bellsouth.net> wrote:
Hello,
I cannot play ".spx" (speex) file in commands such as originate… &playback(file.spx). I double-checked that mod_speex is loaded OK. Freeswitch returns
2012-04-19 11:35:40.532068 [ERR] switch_core_file.c:122 Invalid file format [spx] for [test.spx]!
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.
Anyone?
Thank you
Bernard _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
for native file you omit the extension and you cannot play it unless the channel is also using speex. We do not support speex files that may need to be transcoded to some other codec. if you have /tmp/foo.SPEEX and /tmp/foo.PCMU you playback /tmp/foo and it picks the one to go with the native codec. That is all we support and no other plans for speex file format support beyond that. On Thu, Apr 19, 2012 at 1:41 PM, Bernard Fluixa <fluixab@bellsouth.net> wrote:
/usr/local/freeswitch/bin/fs_encode -l mod_speex a.wav a.SPEEX
fs_encode log: 2012-04-19 14:37:08.055049 [INFO] mod_native_file.c:94 Opening File [a.SPEEX] 8000hz Frame size is 160
I got the a.SPEEX file and same squelch noise when playing it.
2012-04-19 14:37:19.751293 [INFO] mod_native_file.c:94 Opening File [a.SPEEX] 8000hz 2012-04-19 14:37:19.751293 [DEBUG] switch_ivr_play_say.c:1309 Codec Activated L16@8000hz 1 channels 20ms
Any specific parameters to pass to fs_encode or playback?
Thanks
Bernard
On Apr 19, 2012, at 1:35 PM, Avi Marcus wrote:
This sounds like a totally different issue. Please try using FreeSWITCH's encoding functionality: http://wiki.freeswitch.org/wiki/Mod_native_file#Script_to_convert_a_sound_fi...
-Avi
On Thu, Apr 19, 2012 at 8:29 PM, Bernard Fluixa <fluixab@bellsouth.net> wrote:
There's still something I'm not clear with. Here's what I did
1) Converted a ".wav" file to Speex with speex : speexenc a.wav a.SPEEX 2) Call a user with x-Lite soft phone: originate user/1001 &playback(/home/sounds/a.SPEEX)
==> file is open and played but one can hear only noise squelch. What am I doing wrong?
FYI, I then converted a.SPEEX file back to wav format and could play that wav file.
On Apr 19, 2012, at 1:19 PM, Anthony Minessale wrote:
no you, cant modify it. This is a function of mod_native_file and its limited to matching the iananames they registered the codec with.
On Thu, Apr 19, 2012 at 11:59 AM, Avi Marcus <avi@avimarcus.net> wrote:
It seems all the codecs are are chosen in uppercase, as it seems to be listed here: http://wiki.freeswitch.org/wiki/Mod_native_file The name for SPEEX codec is SPEEX, not spx, so that's why it chose it. You can probably modify mod_speex to add an alias to load .spx files also.
-Avi
On Thu, Apr 19, 2012 at 7:25 PM, Bernard Fluixa <fluixab@bellsouth.net> wrote:
Avi - WeIl, I recorded one file yesterday with ".SPEEX" extension FROM Freeswitch and could play it with playback command. No problem. However, it is my understanding that speex format files have ".spx" extension. Why doesn't Freeswitch allows for ".spx" extension?
.speex extension are not accepted.
Thanks again
Bernard
On Apr 19, 2012, at 11:50 AM, Avi Marcus wrote:
Didn't we answer this yesterday? Bernard, have you tried it yet with a .SPEEX (or .speex?) extension?
-Avi
On Thu, Apr 19, 2012 at 6:38 PM, Bernard Fluixa <fluixab@bellsouth.net> wrote:
Hello,
I cannot play ".spx" (speex) file in commands such as originate… &playback(file.spx). I double-checked that mod_speex is loaded OK. Freeswitch returns
2012-04-19 11:35:40.532068 [ERR] switch_core_file.c:122 Invalid file format [spx] for [test.spx]!
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.
Anyone?
Thank you
Bernard
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
Anthony, I'm clear now thanks. Thanks for the explanations. Bernard On Apr 19, 2012, at 2:58 PM, Anthony Minessale wrote:
for native file you omit the extension and you cannot play it unless the channel is also using speex. We do not support speex files that may need to be transcoded to some other codec.
if you have /tmp/foo.SPEEX and /tmp/foo.PCMU
you playback /tmp/foo and it picks the one to go with the native codec. That is all we support and no other plans for speex file format support beyond that.
On Thu, Apr 19, 2012 at 1:41 PM, Bernard Fluixa <fluixab@bellsouth.net> wrote:
/usr/local/freeswitch/bin/fs_encode -l mod_speex a.wav a.SPEEX
fs_encode log: 2012-04-19 14:37:08.055049 [INFO] mod_native_file.c:94 Opening File [a.SPEEX] 8000hz Frame size is 160
I got the a.SPEEX file and same squelch noise when playing it.
2012-04-19 14:37:19.751293 [INFO] mod_native_file.c:94 Opening File [a.SPEEX] 8000hz 2012-04-19 14:37:19.751293 [DEBUG] switch_ivr_play_say.c:1309 Codec Activated L16@8000hz 1 channels 20ms
Any specific parameters to pass to fs_encode or playback?
Thanks
Bernard
On Apr 19, 2012, at 1:35 PM, Avi Marcus wrote:
This sounds like a totally different issue. Please try using FreeSWITCH's encoding functionality: http://wiki.freeswitch.org/wiki/Mod_native_file#Script_to_convert_a_sound_fi...
-Avi
On Thu, Apr 19, 2012 at 8:29 PM, Bernard Fluixa <fluixab@bellsouth.net> wrote:
There's still something I'm not clear with. Here's what I did
1) Converted a ".wav" file to Speex with speex : speexenc a.wav a.SPEEX 2) Call a user with x-Lite soft phone: originate user/1001 &playback(/home/sounds/a.SPEEX)
==> file is open and played but one can hear only noise squelch. What am I doing wrong?
FYI, I then converted a.SPEEX file back to wav format and could play that wav file.
On Apr 19, 2012, at 1:19 PM, Anthony Minessale wrote:
no you, cant modify it. This is a function of mod_native_file and its limited to matching the iananames they registered the codec with.
On Thu, Apr 19, 2012 at 11:59 AM, Avi Marcus <avi@avimarcus.net> wrote:
It seems all the codecs are are chosen in uppercase, as it seems to be listed here: http://wiki.freeswitch.org/wiki/Mod_native_file The name for SPEEX codec is SPEEX, not spx, so that's why it chose it. You can probably modify mod_speex to add an alias to load .spx files also.
-Avi
On Thu, Apr 19, 2012 at 7:25 PM, Bernard Fluixa <fluixab@bellsouth.net> wrote:
Avi - WeIl, I recorded one file yesterday with ".SPEEX" extension FROM Freeswitch and could play it with playback command. No problem. However, it is my understanding that speex format files have ".spx" extension. Why doesn't Freeswitch allows for ".spx" extension?
.speex extension are not accepted.
Thanks again
Bernard
On Apr 19, 2012, at 11:50 AM, Avi Marcus wrote:
Didn't we answer this yesterday? Bernard, have you tried it yet with a .SPEEX (or .speex?) extension?
-Avi
On Thu, Apr 19, 2012 at 6:38 PM, Bernard Fluixa <fluixab@bellsouth.net> wrote: > > Hello, > > I cannot play ".spx" (speex) file in commands such as originate… > &playback(file.spx). I double-checked that mod_speex is loaded OK. > Freeswitch returns > > 2012-04-19 11:35:40.532068 [ERR] switch_core_file.c:122 Invalid file > format [spx] for [test.spx]! > > 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. > > Anyone? > > Thank you > > Bernard > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting@freeswitch.org > http://www.freeswitchsolutions.com > > FreeSWITCH-powered IP PBX: The CudaTel Communication Server > http://www.cudatel.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://wiki.freeswitch.org > http://www.cluecon.com > > 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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
- AIFF (Apple/SGI) (extension "aiff") - AU (Sun/NeXT) (extension "au") - AVR (Audio Visual Research) (extension "avr") - CAF (Apple Core Audio File) (extension "caf") - HTK (HMM Tool Kit) (extension "htk") - IFF (Amiga IFF/SVX8/SV16) (extension "iff") - MAT4 (GNU Octave 2.0 / Matlab 4.2) (extension "mat") - MAT5 (GNU Octave 2.1 / Matlab 5.0) (extension "mat") - PAF (Ensoniq PARIS) (extension "paf") - PVF (Portable Voice Format) (extension "pvf") - RAW (header-less) (extension "raw") - SD2 (Sound Designer II) (extension "sd2") - SDS (Midi Sample Dump Standard) (extension "sds") - SF (Berkeley/IRCAM/CARL) (extension "sf") - VOC (Creative Labs) (extension "voc") - W64 (SoundFoundry WAVE 64) (extension "w64") - WAV (Microsoft) (extension "wav") - WAV (NIST Sphere) (extension "wav") - WAVEX (Microsoft) (extension "wav") - XI (FastTracker 2) (extension "xi") Pick one, and live with it. -BDF On Thu, Apr 19, 2012 at 2:41 PM, Bernard Fluixa <fluixab@bellsouth.net>wrote:
/usr/local/freeswitch/bin/fs_encode -l mod_speex a.wav a.SPEEX
fs_encode log: 2012-04-19 14:37:08.055049 [INFO] mod_native_file.c:94 Opening File [a.SPEEX] 8000hz Frame size is 160
I got the a.SPEEX file and same squelch noise when playing it.
2012-04-19 14:37:19.751293 [INFO] mod_native_file.c:94 Opening File [a.SPEEX] 8000hz 2012-04-19 14:37:19.751293 [DEBUG] switch_ivr_play_say.c:1309 Codec Activated L16@8000hz 1 channels 20ms
Any specific parameters to pass to fs_encode or playback?
Thanks
Bernard
On Apr 19, 2012, at 1:35 PM, Avi Marcus wrote:
This sounds like a totally different issue. Please try using FreeSWITCH's encoding functionality:
http://wiki.freeswitch.org/wiki/Mod_native_file#Script_to_convert_a_sound_fi...
-Avi
On Thu, Apr 19, 2012 at 8:29 PM, Bernard Fluixa <fluixab@bellsouth.net>wrote:
There's still something I'm not clear with. Here's what I did
1) Converted a ".wav" file to Speex with speex : speexenc a.wav a.SPEEX 2) Call a user with x-Lite soft phone: originate user/1001 &playback(/home/sounds/a.SPEEX)
==> file is open and played but one can hear only noise squelch. What am I doing wrong?
FYI, I then converted a.SPEEX file back to wav format and could play that wav file.
On Apr 19, 2012, at 1:19 PM, Anthony Minessale wrote:
no you, cant modify it. This is a function of mod_native_file and its limited to matching the iananames they registered the codec with.
On Thu, Apr 19, 2012 at 11:59 AM, Avi Marcus <avi@avimarcus.net> wrote:
It seems all the codecs are are chosen in uppercase, as it seems to be listed here: http://wiki.freeswitch.org/wiki/Mod_native_file The name for SPEEX codec is SPEEX, not spx, so that's why it chose it. You can probably modify mod_speex to add an alias to load .spx files also.
-Avi
On Thu, Apr 19, 2012 at 7:25 PM, Bernard Fluixa <fluixab@bellsouth.net
wrote:
Avi - WeIl, I recorded one file yesterday with ".SPEEX" extension FROM Freeswitch and could play it with playback command. No problem.
However, it
is my understanding that speex format files have ".spx" extension. Why doesn't Freeswitch allows for ".spx" extension?
.speex extension are not accepted.
Thanks again
Bernard
On Apr 19, 2012, at 11:50 AM, Avi Marcus wrote:
Didn't we answer this yesterday? Bernard, have you tried it yet with a .SPEEX (or .speex?) extension?
-Avi
On Thu, Apr 19, 2012 at 6:38 PM, Bernard Fluixa < fluixab@bellsouth.net> wrote:
Hello,
I cannot play ".spx" (speex) file in commands such as originate… &playback(file.spx). I double-checked that mod_speex is loaded OK. Freeswitch returns
2012-04-19 11:35:40.532068 [ERR] switch_core_file.c:122 Invalid file format [spx] for [test.spx]!
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.
Anyone?
Thank you
Bernard
Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
_________________________________________________________________________
Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
-- Brian D. Foster Endigo Computer LLC Email: bdfoster@endigotech.com Phone: 317-800-7876 Indianapolis, Indiana, USA This message contains confidential information and is intended for those listed in the "To:", "CC:", and/or "BCC:" fields of the message header. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version.
These are filetypes for mod_sndfile, not mod_native_file. On Thu, Apr 19, 2012 at 2:59 PM, Brian Foster <bdfoster@endigotech.com> wrote:
AIFF (Apple/SGI) (extension "aiff") AU (Sun/NeXT) (extension "au") AVR (Audio Visual Research) (extension "avr") CAF (Apple Core Audio File) (extension "caf") HTK (HMM Tool Kit) (extension "htk") IFF (Amiga IFF/SVX8/SV16) (extension "iff") MAT4 (GNU Octave 2.0 / Matlab 4.2) (extension "mat") MAT5 (GNU Octave 2.1 / Matlab 5.0) (extension "mat") PAF (Ensoniq PARIS) (extension "paf") PVF (Portable Voice Format) (extension "pvf") RAW (header-less) (extension "raw") SD2 (Sound Designer II) (extension "sd2") SDS (Midi Sample Dump Standard) (extension "sds") SF (Berkeley/IRCAM/CARL) (extension "sf") VOC (Creative Labs) (extension "voc") W64 (SoundFoundry WAVE 64) (extension "w64") WAV (Microsoft) (extension "wav") WAV (NIST Sphere) (extension "wav") WAVEX (Microsoft) (extension "wav") XI (FastTracker 2) (extension "xi")
Pick one, and live with it.
-BDF
On Thu, Apr 19, 2012 at 2:41 PM, Bernard Fluixa <fluixab@bellsouth.net> wrote:
/usr/local/freeswitch/bin/fs_encode -l mod_speex a.wav a.SPEEX
fs_encode log: 2012-04-19 14:37:08.055049 [INFO] mod_native_file.c:94 Opening File [a.SPEEX] 8000hz Frame size is 160
I got the a.SPEEX file and same squelch noise when playing it.
2012-04-19 14:37:19.751293 [INFO] mod_native_file.c:94 Opening File [a.SPEEX] 8000hz 2012-04-19 14:37:19.751293 [DEBUG] switch_ivr_play_say.c:1309 Codec Activated L16@8000hz 1 channels 20ms
Any specific parameters to pass to fs_encode or playback?
Thanks
Bernard
On Apr 19, 2012, at 1:35 PM, Avi Marcus wrote:
This sounds like a totally different issue. Please try using FreeSWITCH's encoding functionality:
http://wiki.freeswitch.org/wiki/Mod_native_file#Script_to_convert_a_sound_fi...
-Avi
On Thu, Apr 19, 2012 at 8:29 PM, Bernard Fluixa <fluixab@bellsouth.net> wrote:
There's still something I'm not clear with. Here's what I did
1) Converted a ".wav" file to Speex with speex : speexenc a.wav a.SPEEX 2) Call a user with x-Lite soft phone: originate user/1001 &playback(/home/sounds/a.SPEEX)
==> file is open and played but one can hear only noise squelch. What am I doing wrong?
FYI, I then converted a.SPEEX file back to wav format and could play that wav file.
On Apr 19, 2012, at 1:19 PM, Anthony Minessale wrote:
no you, cant modify it. This is a function of mod_native_file and its limited to matching the iananames they registered the codec with.
On Thu, Apr 19, 2012 at 11:59 AM, Avi Marcus <avi@avimarcus.net> wrote:
It seems all the codecs are are chosen in uppercase, as it seems to be listed here: http://wiki.freeswitch.org/wiki/Mod_native_file The name for SPEEX codec is SPEEX, not spx, so that's why it chose it. You can probably modify mod_speex to add an alias to load .spx files also.
-Avi
On Thu, Apr 19, 2012 at 7:25 PM, Bernard Fluixa <fluixab@bellsouth.net> wrote:
Avi - WeIl, I recorded one file yesterday with ".SPEEX" extension FROM Freeswitch and could play it with playback command. No problem. However, it is my understanding that speex format files have ".spx" extension. Why doesn't Freeswitch allows for ".spx" extension?
.speex extension are not accepted.
Thanks again
Bernard
On Apr 19, 2012, at 11:50 AM, Avi Marcus wrote:
Didn't we answer this yesterday? Bernard, have you tried it yet with a .SPEEX (or .speex?) extension?
-Avi
On Thu, Apr 19, 2012 at 6:38 PM, Bernard Fluixa <fluixab@bellsouth.net> wrote: > > Hello, > > I cannot play ".spx" (speex) file in commands such as originate… > &playback(file.spx). I double-checked that mod_speex is loaded OK. > Freeswitch returns > > 2012-04-19 11:35:40.532068 [ERR] switch_core_file.c:122 Invalid file > format [spx] for [test.spx]! > > 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. > > Anyone? > > Thank you > > Bernard > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting@freeswitch.org > http://www.freeswitchsolutions.com > > FreeSWITCH-powered IP PBX: The CudaTel Communication Server > http://www.cudatel.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://wiki.freeswitch.org > http://www.cluecon.com > > 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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
-- Brian D. Foster Endigo Computer LLC Email: bdfoster@endigotech.com Phone: 317-800-7876 Indianapolis, Indiana, USA
This message contains confidential information and is intended for those listed in the "To:", "CC:", and/or "BCC:" fields of the message header. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
-- Kristian Kielhofner
Already received this. Anthony already explained me. On Apr 23, 2012, at 5:46 PM, Kristian Kielhofner wrote:
These are filetypes for mod_sndfile, not mod_native_file.
On Thu, Apr 19, 2012 at 2:59 PM, Brian Foster <bdfoster@endigotech.com> wrote:
AIFF (Apple/SGI) (extension "aiff") AU (Sun/NeXT) (extension "au") AVR (Audio Visual Research) (extension "avr") CAF (Apple Core Audio File) (extension "caf") HTK (HMM Tool Kit) (extension "htk") IFF (Amiga IFF/SVX8/SV16) (extension "iff") MAT4 (GNU Octave 2.0 / Matlab 4.2) (extension "mat") MAT5 (GNU Octave 2.1 / Matlab 5.0) (extension "mat") PAF (Ensoniq PARIS) (extension "paf") PVF (Portable Voice Format) (extension "pvf") RAW (header-less) (extension "raw") SD2 (Sound Designer II) (extension "sd2") SDS (Midi Sample Dump Standard) (extension "sds") SF (Berkeley/IRCAM/CARL) (extension "sf") VOC (Creative Labs) (extension "voc") W64 (SoundFoundry WAVE 64) (extension "w64") WAV (Microsoft) (extension "wav") WAV (NIST Sphere) (extension "wav") WAVEX (Microsoft) (extension "wav") XI (FastTracker 2) (extension "xi")
Pick one, and live with it.
-BDF
On Thu, Apr 19, 2012 at 2:41 PM, Bernard Fluixa <fluixab@bellsouth.net> wrote:
/usr/local/freeswitch/bin/fs_encode -l mod_speex a.wav a.SPEEX
fs_encode log: 2012-04-19 14:37:08.055049 [INFO] mod_native_file.c:94 Opening File [a.SPEEX] 8000hz Frame size is 160
I got the a.SPEEX file and same squelch noise when playing it.
2012-04-19 14:37:19.751293 [INFO] mod_native_file.c:94 Opening File [a.SPEEX] 8000hz 2012-04-19 14:37:19.751293 [DEBUG] switch_ivr_play_say.c:1309 Codec Activated L16@8000hz 1 channels 20ms
Any specific parameters to pass to fs_encode or playback?
Thanks
Bernard
On Apr 19, 2012, at 1:35 PM, Avi Marcus wrote:
This sounds like a totally different issue. Please try using FreeSWITCH's encoding functionality:
http://wiki.freeswitch.org/wiki/Mod_native_file#Script_to_convert_a_sound_fi...
-Avi
On Thu, Apr 19, 2012 at 8:29 PM, Bernard Fluixa <fluixab@bellsouth.net> wrote:
There's still something I'm not clear with. Here's what I did
1) Converted a ".wav" file to Speex with speex : speexenc a.wav a.SPEEX 2) Call a user with x-Lite soft phone: originate user/1001 &playback(/home/sounds/a.SPEEX)
==> file is open and played but one can hear only noise squelch. What am I doing wrong?
FYI, I then converted a.SPEEX file back to wav format and could play that wav file.
On Apr 19, 2012, at 1:19 PM, Anthony Minessale wrote:
no you, cant modify it. This is a function of mod_native_file and its limited to matching the iananames they registered the codec with.
On Thu, Apr 19, 2012 at 11:59 AM, Avi Marcus <avi@avimarcus.net> wrote:
It seems all the codecs are are chosen in uppercase, as it seems to be listed here: http://wiki.freeswitch.org/wiki/Mod_native_file The name for SPEEX codec is SPEEX, not spx, so that's why it chose it. You can probably modify mod_speex to add an alias to load .spx files also.
-Avi
On Thu, Apr 19, 2012 at 7:25 PM, Bernard Fluixa <fluixab@bellsouth.net> wrote: > > Avi - WeIl, I recorded one file yesterday with ".SPEEX" extension > FROM > Freeswitch and could play it with playback command. No problem. > However, it > is my understanding that speex format files have ".spx" extension. > Why > doesn't Freeswitch allows for ".spx" extension? > > .speex extension are not accepted. > > Thanks again > > Bernard > > On Apr 19, 2012, at 11:50 AM, Avi Marcus wrote: > > Didn't we answer this yesterday? Bernard, have you tried it yet with > a > .SPEEX (or .speex?) extension? > > -Avi > > > > On Thu, Apr 19, 2012 at 6:38 PM, Bernard Fluixa > <fluixab@bellsouth.net> > wrote: >> >> Hello, >> >> I cannot play ".spx" (speex) file in commands such as originate… >> &playback(file.spx). I double-checked that mod_speex is loaded OK. >> Freeswitch returns >> >> 2012-04-19 11:35:40.532068 [ERR] switch_core_file.c:122 Invalid file >> format [spx] for [test.spx]! >> >> 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. >> >> Anyone? >> >> Thank you >> >> Bernard >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting@freeswitch.org >> http://www.freeswitchsolutions.com >> >> FreeSWITCH-powered IP PBX: The CudaTel Communication Server >> http://www.cudatel.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://wiki.freeswitch.org >> http://www.cluecon.com >> >> 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 > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting@freeswitch.org > http://www.freeswitchsolutions.com > > FreeSWITCH-powered IP PBX: The CudaTel Communication Server > http://www.cudatel.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://wiki.freeswitch.org > http://www.cluecon.com > > 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 > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting@freeswitch.org > http://www.freeswitchsolutions.com > > FreeSWITCH-powered IP PBX: The CudaTel Communication Server > http://www.cudatel.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://wiki.freeswitch.org > http://www.cluecon.com > > 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 >
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
-- Brian D. Foster Endigo Computer LLC Email: bdfoster@endigotech.com Phone: 317-800-7876 Indianapolis, Indiana, USA
This message contains confidential information and is intended for those listed in the "To:", "CC:", and/or "BCC:" fields of the message header. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
-- Kristian Kielhofner
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
participants (5)
-
Anthony Minessale
-
Avi Marcus
-
Bernard Fluixa
-
Brian Foster
-
Kristian Kielhofner