[Freeswitch-users] Recording all calls with good quality.

Евгений joohny at mail.ru
Thu May 10 10:40:26 MSD 2012


Hi.
I see you are recording in stereo. Both channels has  horrible quality? I had horrible quality in one channel when it was two interfaces looking in the same network.
Evginey

I've tried the following codec settings, set in vars.xml. The first and third lines are the defaults upon install.
<X-PRE-PROCESS cmd="set" data="global_codec_prefs=G7221 at 32000h,G7221 at 16000h,G722,PCMU,PCMA,GSM"/>
<!--tried both the following lines. Quality did not change noticeably-->
<X-PRE-PROCESS cmd="set" data="outbound_codec_prefs=G7221 at 32000h,G7221 at 16000h,G722,PCMU,PCMA,GSM"/>
<X-PRE-PROCESS cmd="set" data="outbound_codec_prefs=PCMU,PCMA,GSM"/>
My CPU load shows fine, even with 2 clients connected to an external (secondary) switch, through this one.
I truly appreciate the help.

Brandon McGinty-Carroll


On Sun, May 06, 2012 at 06:50:44PM +0300, Avi Marcus wrote:
> AFAIK, gsm is lossy, which is why it doesn't sound good.
> wav, however, should sound great. What codec are your calls in? Are you
> recording many calls?
> Check the load average while you are recording. If it's greater than the
> number of CPUs then probably your hard drives can't keep up. There are
> several options then, first let see if we can diagnose the issue.
> 
> -Avi
> 
> 
> On Sun, May 6, 2012 at 5:46 PM, <brandon.mcginty at gmail.com> wrote:
> 
> > Good day.
> > I'm trying to record all calls sent through my Freeswitch PBX.
> > The problem is that the quality is horrible. I've tried wav and GSM
> > formats, and both are les than satisfactory.
> > I'm looking for something around the quality of the recent recordings of
> > the Freeswitch conference. (I checked on the wiki, and couldn't find
> > anything through search.)
> > Any information on the FS conference format or my configuration would be
> > appreciated.
> > I've got:
> > <!--record all calls through switch, $/recordings/yyyy-mm-dd...-->
> > <condition field="destination_number" expression="^(.+)$" break="never">
> > <action application="set" data="RECORD_TITLE=Recording
> > ${destination_number} ${caller_id_number} ${strftime(%Y-%m-%d %H:%M)}"/>
> > <action application="set" data="RECORD_DATE=${strftime(%Y-%m-%d %H:%M)}"/>
> > <action application="set" data="RECORD_STEREO=true"/>
> > <action application="record_session"
> > data="$${base_dir}/recordings/${strftime(%Y-%m-%d-%H-%M-%S)}_${destination_number}_${caller_id_number}.wav"/>
> > </condition>
> >
> > Sincerely,
> > Brandon McGinty-Carroll
> >
> >
> > _________________________________________________________________________
> > Professional FreeSWITCH Consulting Services:
>consulting at freeswitch.org
>http://www.freeswitchsolutions.com
> >
> > 
>
> >
> > Official FreeSWITCH Sites
>http://www.freeswitch.org
>http://wiki.freeswitch.org
>http://www.cluecon.com
> >
> > FreeSWITCH-users mailing list
>FreeSWITCH-users at 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 at freeswitch.org
> http://www.freeswitchsolutions.com
> 
> 
> 
> 
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
> 
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120510/8cf13c06/attachment-0001.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list