[Freeswitch-users] Fwd: Mod_skypopen : recording
covici at ccs.covici.com
covici at ccs.covici.com
Thu Jun 21 21:54:28 MSD 2012
How did you convert to mp3 -- fs normally records .wav at whatever
sampling rate determined by the codec -- I did not know that record
parameter did anything.
Balamurugan Mahendran <b2m at a-cti.com> wrote:
> I just changed <action application="set" data="record_sample_rate=16000"/>,
> still looks same.
>
>
> Thanks,
> Bala
>
>
> On Thu, Jun 21, 2012 at 11:07 PM, Balamurugan Mahendran <b2m at a-cti.com>wrote:
>
> > I am afraid, I did not do anything outside freeswitch.
> >
> > just have the following for recording in my dialplan
> >
> >
> > <action application="set" data="RECORD_COPYRIGHT=(c) freeswitch"/>
> > <action application="set" data="RECORD_SOFTWARE=FreeSWITCH"/>
> > <action application="set" data="RECORD_ARTIST=auto"/>
> > <action application="set" data="RECORD_COMMENT=auto recording"/>
> > <action application="set" data="RECORD_DATE=${strftime(%Y-%m-%d
> > %H:%M)}"/>
> > <action application="set" data="RECORD_STEREO=true"/>
> > <action application="set" data="record_sample_rate=11000"/>
> > <action application="set" data="media_bug_answer_req=true"/>
> > <action application="record_session"
> > data="$${base_dir}/recordings/${uuid}.mp3"/>
> > <action application="set" data="ignore_early_media=false"/>
> > <action application="set"
> > data="continue_on_fail=NORMAL_TEMPORARY_FAILURE,ORIGINATOR_CANCEL,CANCEL,USER_BUSY,NO_ANSWER,NO_ROUTE_DESTINATION"/>
> >
> >
> > Thanks,
> > Bala
> >
> >
> > On Thu, Jun 21, 2012 at 10:59 PM, Giovanni Maruzzelli <gmaruzz at gmail.com>wrote:
> >
> >> On Thu, Jun 21, 2012 at 7:15 PM, Balamurugan Mahendran <b2m at a-cti.com>wrote:
> >>
> >>> Thanks for your help!!
> >>>
> >>> Up to my knowledge there was no change.
> >>>
> >>> After that I tried re-installed FS(with latest build) Skype and changed
> >>> EC2 Instance(different size) but for some reason its still same. I guess
> >>> some settings somewhere changed not sure where it is.
> >>>
> >>>
> >> I just checked your mp3, it says it's recorded at 8khz, but it's not
> >> true. It's 16khz. If you play it at 16khz it sounds ok. So, you have to
> >> look into the mp3 converter you used and configure it to not lie about the
> >> samples per second ;).
> >>
> >> -giovanni
> >>
> >>
> >>
> >>
> >>
> >>>
> >>> Thanks,
> >>> Bala
> >>>
> >>> On Thu, Jun 21, 2012 at 10:32 PM, Giovanni Maruzzelli <gmaruzz at gmail.com
> >>> > wrote:
> >>>
> >>>>
> >>>>
> >>>> On Thu, Jun 21, 2012 at 6:50 PM, Balamurugan Mahendran <b2m at a-cti.com>wrote:
> >>>>
> >>>>> Is there a wiki link for these parameters? Thanks!!
> >>>>>
> >>>>> Actually it was very good till last week(for about 6
> >>>>> months), suddenly its broken. I could not trace it yet
> >>>>>
> >>>>>
> >>>> Have you reinstalled something?
> >>>>
> >>>> Re-compiled things, or updated config files?
> >>>>
> >>>> If you have changed nothing, maybe the problem is elsewhere.
> >>>>
> >>>> Just for test, you can:
> >>>>
> >>>> 1) from FS cli, unload mod_skypopen
> >>>> 2) from ssh killall Xvfb (this will kill all the skype instances too)
> >>>> 3) from ssh relaunch the Xvfb-skype clients (with the script)
> >>>> 4) from FS cli load mod_skypopen
> >>>>
> >>>> check if it is recording correctly now.
> >>>>
> >>>> That test is good if you changed nothing.
> >>>>
> >>>> If you changed something, revert that change :).
> >>>>
> >>>> -giovanni
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>> Thanks,
> >>>>> Bala
> >>>>>
> >>>>>
> >>>>> On Thu, Jun 21, 2012 at 9:59 PM, Giovanni Maruzzelli <
> >>>>> gmaruzz at gmail.com> wrote:
> >>>>>
> >>>>>>
> >>>>>>
> >>>>>> On Thu, Jun 21, 2012 at 5:44 PM, Balamurugan Mahendran <b2m at a-cti.com
> >>>>>> > wrote:
> >>>>>>
> >>>>>>> All,
> >>>>>>>
> >>>>>>> Is there a way to control recording speed for mod_skypopen? I was
> >>>>>>> trying to figure out the problem of fast recording/playing
> >>>>>>>
> >>>>>>> Please find the attached file
> >>>>>>>
> >>>>>>
> >>>>>> Balamurugan,
> >>>>>>
> >>>>>> be aware that mod_skypopen operate at 16khz signed linear (let's say,
> >>>>>> at HD audio level; double the number of samples of a normal PCMU or GSM or
> >>>>>> g711 or G729 call).
> >>>>>>
> >>>>>> So, maybe you have to tweak the recording or playback parameters
> >>>>>> taking this into account.
> >>>>>>
> >>>>>> -giovanni
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>>
> >>>>>>> Thanks,
> >>>>>>> Bala
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>> _________________________________________________________________________
> >>>>>>> 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
> >>>>>>>
> >>>>>>> Join Us At ClueCon - Aug 7-9, 2012
> >>>>>>>
> >>>>>>> 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
> >>>>>>>
> >>>>>>>
> >>>>>>
> >>>>>>
> >>>>>> --
> >>>>>> Sincerely,
> >>>>>>
> >>>>>> Giovanni Maruzzelli
> >>>>>> Cell : +39-347-2665618
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>> _________________________________________________________________________
> >>>>>> 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
> >>>>>>
> >>>>>> Join Us At ClueCon - Aug 7-9, 2012
> >>>>>>
> >>>>>> 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
> >>>>>
> >>>>> Join Us At ClueCon - Aug 7-9, 2012
> >>>>>
> >>>>> 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
> >>>>>
> >>>>>
> >>>>
> >>>>
> >>>> --
> >>>> Sincerely,
> >>>>
> >>>> Giovanni Maruzzelli
> >>>> Cell : +39-347-2665618
> >>>>
> >>>>
> >>>>
> >>>> _________________________________________________________________________
> >>>> 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
> >>>>
> >>>> Join Us At ClueCon - Aug 7-9, 2012
> >>>>
> >>>> 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
> >>>
> >>> Join Us At ClueCon - Aug 7-9, 2012
> >>>
> >>> 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
> >>>
> >>>
> >>
> >>
> >> --
> >> Sincerely,
> >>
> >> Giovanni Maruzzelli
> >> Cell : +39-347-2665618
> >>
> >>
> >> _________________________________________________________________________
> >> 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
> >>
> >> Join Us At ClueCon - Aug 7-9, 2012
> >>
> >> 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
> >>
> >>
> >
>
> ----------------------------------------------------
> Alternatives:
>
> ----------------------------------------------------
> _________________________________________________________________________
> 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
>
> Join Us At ClueCon - Aug 7-9, 2012
>
> 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
--
Your life is like a penny. You're going to lose it. The question is:
How do
you spend it?
John Covici
covici at ccs.covici.com
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list