[Freeswitch-dev] why does app "record_session" record extra frequency range
Hi all, I have a bridged call and a home brew module which adds a media bug to the local and partner session before the bridge app in the dial plan. The original speech codec used is G722, which sampling rate is 16KHz. I add a media bug which does low pass filtering the speech to 4KHz. But the spectrum of the recorded .wav file showed that it always contains the freq range from 0K to 8K. The desired spectrum should contain only 0 to 4KHz. I am confused, can anyone show me some hints? Thanks in advance. Best Regards, Han --
Do you have an example of how you're doing it? On Tue, Nov 22, 2011 at 8:31 AM, Han Xin <xin@ind.rwth-aachen.de> wrote:
Hi all,
I have a bridged call and a home brew module which adds a media bug to the local and partner session before the bridge app in the dial plan. The original speech codec used is G722, which sampling rate is 16KHz. I add a media bug which does low pass filtering the speech to 4KHz. But the spectrum of the recorded .wav file showed that it always contains the freq range from 0K to 8K. The desired spectrum should contain only 0 to 4KHz.
I am confused, can anyone show me some hints? Thanks in advance.
Best Regards,
Han --
_________________________________________________________________________ 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-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev 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
Hi Anthony, Problem is solved, I reverse the order of record_session and the low pass filtering module in the dial plan. Then it turns out to be working as expected. I am wondering how the order of media bugs are added and processed now. :P ----------------ursprüngliche Nachricht----------------- Von: "Anthony Minessale" anthony.minessale@gmail.com An: freeswitch-dev@lists.freeswitch.org Datum: Tue, 22 Nov 2011 09:54:41 -0600 -------------------------------------------------
Do you have an example of how you're doing it?
On Tue, Nov 22, 2011 at 8:31 AM, Han Xin xin@ind.rwth-aachen.de wrote:
Hi all,
I have a bridged call and a home brew module which adds a media bug to the local and partner session before the bridge app in the dial plan. The original speech codec used is G722, which sampling rate is 16KHz. I add a media bug which does low pass filtering the speech to 4KHz. But the spectrum of the recorded .wav file showed that it always contains the freq range from 0K to 8K. The desired spectrum should contain only 0 to 4KHz.
I am confused, can anyone show me some hints? Thanks in advance.
Best Regards,
Han --
__________________________________________________________________ _______ 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-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch -dev 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-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-d ev http://www.freeswitch.org
--
participants (2)
-
Anthony Minessale
-
Han Xin