Re: [OpenSIPStack] Cpmfort Noise Support
Brought to you by:
joegenbaclor
From: Yacine A. <yac...@ms...> - 2007-06-02 13:36:00
|
Hi,Thanks a lot for all your efforts.i have succesfully compiled ATLSIP wit= h the new changes, but i have a little issue now.i'm not able to make calls= since the updates, i'm getting a 403 Forbidden error code whene trying to = make a call while i was able to make calls before.> Date: Wed, 30 May 2007 = 17:53:09 +0800> From: ip...@so...> To: opensipstack-devel@lis= ts.sourceforge.net> Subject: Re: [OpenSIPStack] Cpmfort Noise Support> > Hi= all,> > I have exposed the setting of silence detection mode and audio jit= ter > delay in ATLSIP and SoftPhoneInterface.> > Here are the methods:> > D= isableSilenceDetection()> - Disables silence detection. Disables CNG as wel= l.> > EnableFixedSilenceDetection( ULONG threshold )> - Enables fixed silen= ce detection. Any sound level below the threshold > is treated as silence (= and CN is generated as a result). Don't use too > high threshold values or = you'll only hear comfort noise. Try threshold=3D3 > as suggested by Whit in= another thread.> > EnableFixedSilenceDetectionEx( ULONG threshold , ULONG = signalDeadband, > ULONG silenceDeadband )> - An extended version of the pr= evious method. Don't tinker with this > unless you know what you're doing. = For reference on how signalDeadband > and silenceDeadband are used, look in= OpalSilenceDetector::ReceivedPacket().> > EnableAdaptiveSilenceDetection( = ULONG adaptivePeriod )> - Enables an adaptive silence detection. Supposedly= this enables the > threshold to *adapt* to the current sound level every a= daptivePeriod > milliseconds. However, its silence detection doesn't seem t= o be very > effective (at least in my machine). I'll look into this further= to see > what's wrong. This mode with adaptivePeriod=3D4800 is the default= mode for > ATLSIP.> > EnableAdaptiveSilenceDetectionEx( ULONG adaptivePeri= od, ULONG > signalDeadband, ULONG silenceDeadband )> - An extended version= of the previous method. Don't tinker with this > unless you know what you'= re doing. For reference on how signalDeadband > and silenceDeadband are use= d, look in OpalSilenceDetector::ReceivedPacket().> > SetAudioJitterDelay( U= LONG minDelay, ULONG maxDelay )> - Sets audio jitter delay settings.> > > R= egards,> Ilian> > Ilian Jeri C. Pinzon wrote:> > Will prioritize this reque= st. This should be available by tomorrow or on > > early Thursday tops.> >>= > Regards,> > Ilian> >> > Joegen E. Baclor wrote:> > > >> Hi Ilian,> >>>= >> Can you provide an ETC for exposing Jitter and Silent Detection params = > >> in ATLSIP? Seems like a popular request.> >>> >> Joegen> >>> >>> >> = Ilian Jeri C. Pinzon wrote:> >> > >> > >>> Hi,> >>>> >>> We haven't e= xposed this yet but we will soon. Please wait for updates > >>> in this lis= t.> >>>> >>> For the meantime, please refer to the attached email on how th= is can > >>> be done.> >>>> >>> Thanks.> >>>> >>> Regards,> >>> Ilian> >>>>= >>> Yacine Auczone wrote:> >>> > >>> > >>>> Hi All,> >>>> First,= Thanks a lot for all the great job you are doing for> >>>> OpenSipStack an= d AtlSIP> >>>> I'm doing some devlopement test with the Softphone ActiveX, = the> >>>> quality is very good and no bugs detected, the only thing is that= the> >>>> softphone is doing by default some VAD and it is not transmiting= the> >>>> silence, so there is no Comfort Noise generation sent whene the= > >>>> calling party stop talking. i heard about a new ActiveX version whic= h> >>>> will be available and gives the option to enable or disable CNG, is= it> >>>> ready? if yes can i have it please?> >>>> Other Thing, on my Aste= risk Server only G729 Work and not G729A> >>>> What's Wrong ?> >>>>> >>>>> = >>>>> >>>>> >>>> ----------------------------------------------------------= --------------> >>>> Avec Windows Live Spaces, publiez directement des mess= ages > >>>> =E9lectroniques sur votre blog ou ajoutez-y des photos, des bla= gues et > >>>> d'autres infos. C'est gratuit ! > >>>> <http://clk.atdmt.com= /MSN/go/msnnksac0030000001msn/direct/01/?href=3Dhttp://www.imagine-msn.com/= spaces> > >>>>> >>>> ------------------------------------------------------= ------------------> >>>>> >>>> --------------------------------------------= ----------------------------- > >>>>> >>>> This SF.net email is sponsored b= y DB2 Express> >>>> Download DB2 Express C - the FREE version of DB2 expres= s and take> >>>> control of your XML. No limits. Just data. Click to get it= now.> >>>> http://sourceforge.net/powerbar/db2/> >>>> --------------------= ----------------------------------------------------> >>>>> >>>> __________= _____________________________________> >>>> opensipstack-devel mailing list= > >>>> ope...@li...> >>>> https://lists.sourcef= orge.net/lists/listinfo/opensipstack-devel> >>>> > >>>> -----------------= -------------------------------------------------------> >>>>> >>>> No viru= s found in this incoming message.> >>>> Checked by AVG Free Edition. Versio= n: 7.5.472 / Virus Database: > >>>> 269.8.1/822 - Release Date: 5/28/2007 1= 1:40 AM> >>>> > >>>> > >>>> > >>> -------------------------= -----------------------------------------------> >>>> >>> Subject:> >>> [Fw= d: Re: [OpenSIPStack] Audio problems - Jitter and Comfort Noise]> >>> From:= > >>> "Joegen E. Baclor" <joe...@gm...>> >>> Date:> >>> Tue, 29 = May 2007 18:26:21 +0800> >>> To:> >>> "Ilian Jeri C. Pinzon" <ipinzon@soleg= ysystems.com>> >>>> >>> To:> >>> "Ilian Jeri C. Pinzon" <ipinzon@solegysyst= ems.com>> >>>> >>>> >>>> >>>> >>> -----------------------------------------= -------------------------------> >>>> >>> Subject:> >>> Re: [OpenSIPStack] = Audio problems - Jitter and Comfort Noise> >>> From:> >>> "Joegen E. Baclor= " <joe...@gm...>> >>> Date:> >>> Thu, 12 Apr 2007 16:40:04 +0800= > >>> To:> >>> ope...@li...> >>>> >>> To:> >>> = ope...@li...> >>>> >>>> >>> Whit,> >>>> >>> Goo= d to hear you nailed it! Can't wait to see your contributions if > >>> yo= u get the chance to expose the other setters/accessors in ATLSIP.> >>>> >>>= > >>>> >>> Whit Thiele wrote:> >>> > >>> > >>>> Joegen,> >>>>> >>= >> Thanks for the help. I thought I'd send the list an update on what > >>>= > solved my> >>>> problem. I changed the Silence Detector to Fixed with a t= hreshold of > >>>> 3. This> >>>> eliminated all the problems! It seems that= the adaptive silence > >>>> detector was> >>>> constantly incrementing and= started affecting things about 10-15 seconds> >>>> into a conversation!> >= >>>> >>>> I'll probably put in the ability to change the jitterbuffer and s= ilence> >>>> detector into the ATLSIP library and send this in to the proje= ct in > >>>> the next> >>>> couple weeks...> >>>>> >>>>> >>>> Whit> >>>>> >= >>>> >>>>> >>>> -----Original Message-----> >>>> From: opensipstack-devel-b= ou...@li...> >>>> [mailto:opensipstack-devel-bounces@lists= .sourceforge.net] On Behalf Of> >>>> Joegen E. Baclor> >>>> Sent: Tuesday, = April 10, 2007 9:36 PM> >>>> To: ope...@li...> = >>>> Subject: Re: [OpenSIPStack] Audio problems - Jitter and Comfort Noise>= >>>>> >>>> Whit,> >>>>> >>>> It is probably best to ask this question to >= >>>> ope...@li.... However, here's how to set > = >>>> the silence detection in code.> >>>>> >>>>> >>>>> >>>> OpalSil= enceDetector::Param param;> >>>> param.Mode =3D OpalSilenceDetector= ::NoSilenceDetection;> >>>> sfManager.SetSilenceDetectParams( param= s );> >>>>> >>>>> >>>>> >>>>> >>>> Hope that helps.> >>>>> >>>> de...@wh...= wrote:> >>>> > >>>> > >>>> > >>>>> Joegen,> >>>>>> >>>>> Th= anks for the reply. I've been trying different jitterbuffer > >>>>> setting= s as> >>>>> > >>>>> > >>>>> > >>>> well> >>>> > >>>>= > >>>> > >>>>> as changing the number soundChannelBuffers to= a number of different> >>>>> > >>>>> > >>>>> > >>>> = settings> >>>> > >>>> > >>>> > >>>>> which I came across in = some online> >>>>> Opal documentation (> >>>>>> >>>>> > >>>>> >= >>>>> > >>>> http://www.openh323.org/pipermail/openh323/Week-of-= Mon-20051219/076004.html > >>>>> >>>> )> >>>> > >>>> > >>>> = > >>>>> I've tried setting the jitter buffer to minimums 25 through to 500 = > >>>>> and the> >>>>> > >>>>> > >>>>> > >>>> depth> = >>>> > >>>> > >>>> > >>>>> to as high as 15 but nothing is h= elping. As I described before, I > >>>>> can get> >>>>> > >>>>> = > >>>>> > >>>> about> >>>> > >>>> > >>>> > >>>>> = 10-15 consecutive seconds of decent voice quality and then it gets very> >>= >>> > >>>>> > >>>>> > >>>> choppy. > >>>> > >>= >> > >>>>> Is anyone else experiencing this?> >>>>>> >>>>> I am won= dering if it may have something to do with the Silence > >>>>> detection> >= >>>> > >>>>> > >>>>> > >>>> portion> >>>> > >>>> = > >>>> > >>>>> of Opal. I've noticed in the opal.log file that t= he Silence Threshold> >>>>> > >>>>> > >>>>> > >>>> cr= eeps> >>>> > >>>> > >>>> > >>>>> upwards the longer the pers= on talks. Is there a way to disable the > >>>>> silence> >>>>> detector? I = could see that there are several Modes (Fixed, Adaptive, > >>>>> etc)> >>>>= > > >>>>> > >>>>> > >>>> for> >>>> > >>>> > >>= >> > >>>>> it but I can't figure out where this is initialized in t= he code.> >>>>> I may be on the wrong track but I can't figure out this str= ange > >>>>> behavior.> >>>>> Any help/ideas/suggestions would be greatly a= ppreciated!> >>>>>> >>>>> Whit> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >= >>>>> >>>>> -----Original Message-----> >>>>> From: opensipstack-devel-boun= ce...@li...> >>>>> [mailto:opensipstack-devel-bounces@lists.s= ourceforge.net] On Behalf Of> >>>>> > >>>>> > >>>>> >= >>>> Joegen> >>>> > >>>> > >>>> > >>>>> E. Baclor> >>>>> Se= nt: Monday, April 09, 2007 5:19 AM> >>>>> To: ope...@li...ur= ceforge.net> >>>>> Subject: Re: [OpenSIPStack] Audio problems - Jitter and = Comfort Noise> >>>>>> >>>>> de...@wh... wrote:> >>>>> > >>>>> = > >>>>> > >>>>>> Members,> >>>>>>> >>>>>> I'm doing some testing = with the ATLSIP and opensipstack libraries > >>>>>> and so> >>>>>> > = >>>>>> > >>>>>> > >>>> far> >>>> > >>>> > >>>>= > >>>>>> with pretty good success. I have written a softphone in C= # using the> >>>>>> > >>>>>> > >>>>>> > >>>> sa= mples> >>>> > >>>> > >>>> > >>>>>> provided, however I have = a strange issue which I think is related to> >>>>>> > >>>>>> = > >>>>>> > >>>> jitter> >>>> > >>>> > >>>> > >= >>>>> and/or comfort noise:> >>>>>>> >>>>>> Setup:> >>>>>> C# Softphone ---= -> Asterisk ---> PRI -----> Telco> >>>>>>> >>>>>> Once I make a call, the s= ystem works fine except if the person > >>>>>> using the> >>>>>> softphone = talks for more then about 10-15 seconds (in a row without > >>>>>> being> >= >>>>> interupted). Then, the audio starts to break up and the person on the= > >>>>>> > >>>>>> > >>>>>> > >>>> telco> >>>> = > >>>> > >>>> > >>>>>> side can't make out what they are sayi= ng. Sometimes this situation is> >>>>>> > >>>>>> > >>>>>> = > >>>> reversed> >>>> > >>>> > >>>> > >>>>>> and = the person on the softphone can't make out the person on the telco> >>>>>> = > >>>>>> > >>>>>> > >>>> side. > >>>> > = >>>> > >>>>>> By the way, there aren't any problems with the telco = or asterisk > >>>>>> setup as> >>>>>> > >>>>>> > >>>>>> = > >>>> I> >>>> > >>>> > >>>> > >>>>>> > >= >>>>> > >>>>>> > >>>>> have> >>>>> > >>>>> = > >>>>> > >>>>>> SIP hardphones using the system with no probl= ems.> >>>>>>> >>>>>> So my question is:> >>>>>>> >>>>>>> >>>>>> 1. Can I se= nd confort noise during silence breaks?> >>>>>>> >>>>>> > >>>>>> = > >>>>>> > >>>>> CNG is a codec functionality and is = not manually generated by the > >>>>> stack.> >>>>>> >>>>>> >>>>> > >>= >>> > >>>>> > >>>>>> 2. Where can I tweak the jitter-buff= er or comfort noise settings? > >>>>>> Is this> >>>>>> > >>>>>> = > >>>>>> > >>>> done> >>>> > >>>> > >>>> > = >>>>>> > >>>>>> > >>>>>> > >>>>> SoftPhoneM= anager::SetAudioJitterDelay(). It is not yet exposed an the> >>>>> Active= X properties. Feel free to send in a patch if you get the chance> >>>>> to= expose it.> >>>>>> >>>>> > >>>>> > >>>>> > >>>>>> i= n the code itself?> >>>>>> 3. Maybe I'm on the wrong track and any suggesti= ons are welcome!> >>>>>>> >>>>>>> >>>>>> Look forward to working more with = everyone on this exciting project!> >>>>>>> >>>>>> Whit> >>>>>>> >>>>>>> >>= >>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>> ----------------------= --------------------------------------------------- > >>>>>>> >>>>>> Take S= urveys. Earn Cash. Influence the Future of IT> >>>>>> Join SourceForge.net'= s Techsay panel and you'll get the chance to > >>>>>> share> >>>>>> >= >>>>>> > >>>>>> > >>>> your> >>>> > >>>> > >>= >> > >>>>>> opinions on IT & business topics through brief surveys-= and earn cash> >>>>>> http://www.techsay.com/default.php?page=3Djoin.php&p= =3Dsourceforge&CID=3DDEVDEV > >>>>>>> >>>>>> ______________________________= _________________> >>>>>> opensipstack-devel mailing list> >>>>>> opensipst= ack...@li...> >>>>>> https://lists.sourceforge.net/lists= /listinfo/opensipstack-devel> >>>>>>> >>>>>>> >>>>>> > >>>>>> = > >>>>>> > >>>>> ---------------------------------------= ---------------------------------- > >>>>>> >>>>> Take Surveys. Earn Cash. = Influence the Future of IT> >>>>> Join SourceForge.net's Techsay panel and = you'll get the chance to share> >>>>> > >>>>> > >>>>> = > >>>> your> >>>> > >>>> > >>>> > >>>>> opinions on IT & bu= siness topics through brief surveys-and earn cash> >>>>> http://www.techsay= .com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3DDEVDEV > >>>>>> >>>>= > _______________________________________________> >>>>> opensipstack-devel= mailing list> >>>>> ope...@li...> >>>>> https:= //lists.sourceforge.net/lists/listinfo/opensipstack-devel> >>>>>> >>>>>> >>= >>> -----------------------------------------------------------------------= -- > >>>>>> >>>>> Take Surveys. Earn Cash. Influence the Future of IT> >>>>= > Join SourceForge.net's Techsay panel and you'll get the chance to share> = >>>>> > >>>>> > >>>>> > >>>> your> >>>> > >>>> = > >>>> > >>>>> opinions on IT & business topics through brief surv= eys-and earn cash> >>>>> http://www.techsay.com/default.php?page=3Djoin.php= &p=3Dsourceforge&CID=3DDEVDEV > >>>>>> >>>>> ______________________________= _________________> >>>>> opensipstack-devel mailing list> >>>>> opensipstac= k-...@li...> >>>>> https://lists.sourceforge.net/lists/li= stinfo/opensipstack-devel> >>>>>> >>>>> > >>>>> > >>>>> = > >>>> ---------------------------------------------------------------= ---------- > >>>>> >>>> Take Surveys. Earn Cash. Influence the Future of IT= > >>>> Join SourceForge.net's Techsay panel and you'll get the chance to > = >>>> share your> >>>> opinions on IT & business topics through brief survey= s-and earn cash> >>>> http://www.techsay.com/default.php?page=3Djoin.php&p= =3Dsourceforge&CID=3DDEVDEV > >>>>> >>>> __________________________________= _____________> >>>> opensipstack-devel mailing list> >>>> opensipstack-deve= l...@li...> >>>> https://lists.sourceforge.net/lists/listinfo/= opensipstack-devel> >>>>> >>>>> >>>>> >>>> --------------------------------= ----------------------------------------- > >>>>> >>>> Take Surveys. Earn C= ash. Influence the Future of IT> >>>> Join SourceForge.net's Techsay panel = and you'll get the chance to > >>>> share your> >>>> opinions on IT & busin= ess topics through brief surveys-and earn cash> >>>> http://www.techsay.com= /default.php?page=3Djoin.php&p=3Dsourceforge&CID=3DDEVDEV > >>>>> >>>> ____= ___________________________________________> >>>> opensipstack-devel mailin= g list> >>>> ope...@li...> >>>> https://lists.s= ourceforge.net/lists/listinfo/opensipstack-devel> >>>>> >>>>> >>>> > >>>>= > >>>> > >>> -----------------------------------------------= -------------------------> >>>> >>> No virus found in this incoming message= .> >>> Checked by AVG Free Edition. > >>> Version: 7.5.472 / Virus Database= : 269.8.1/822 - Release Date: 5/28/2007 11:40 AM> >>> > >>> -------------= -----------------------------------------------------------> >>>> >>> -----= --------------------------------------------------------------------> >>> T= his SF.net email is sponsored by DB2 Express> >>> Download DB2 Express C - = the FREE version of DB2 express and take> >>> control of your XML. No limit= s. Just data. Click to get it now.> >>> http://sourceforge.net/powerbar/db2= /> >>> --------------------------------------------------------------------= ----> >>>> >>> _______________________________________________> >>> opensip= stack-devel mailing list> >>> ope...@li...> >>>= https://lists.sourceforge.net/lists/listinfo/opensipstack-devel> >>> > >= >> > >>> > >> ---------------------------------------------------= ----------------------> >> This SF.net email is sponsored by DB2 Express> >= > Download DB2 Express C - the FREE version of DB2 express and take> >> con= trol of your XML. No limits. Just data. Click to get it now.> >> http://sou= rceforge.net/powerbar/db2/> >> ____________________________________________= ___> >> opensipstack-devel mailing list> >> ope...@li...urce= forge.net> >> https://lists.sourceforge.net/lists/listinfo/opensipstack-dev= el> >>> >>> >> > >> > >> >> > ---------------------------------------= ----------------------------------> > This SF.net email is sponsored by DB2= Express> > Download DB2 Express C - the FREE version of DB2 express and ta= ke> > control of your XML. No limits. Just data. Click to get it now.> > ht= tp://sourceforge.net/powerbar/db2/> > _____________________________________= __________> > opensipstack-devel mailing list> > opensipstack-devel@lists.s= ourceforge.net> > https://lists.sourceforge.net/lists/listinfo/opensipstack= -devel> >> >> > > > > ---------------------------------------------------= ----------------------> This SF.net email is sponsored by DB2 Express> Down= load DB2 Express C - the FREE version of DB2 express and take> control of y= our XML. No limits. Just data. Click to get it now.> http://sourceforge.net= /powerbar/db2/> _______________________________________________> opensipsta= ck-devel mailing list> ope...@li...> https://li= sts.sourceforge.net/lists/listinfo/opensipstack-devel _________________________________________________________________ Essayez Live.com et cr=E9ez l'Internet qui vous ressemble : infos, sports, = m=E9t=E9o et bien plus encore ! http://www.live.com/getstarted= |