Tamvir- > Thanks for your reply but I know that Freeswitch would > recognize 12200, since AMR-NB includes legacy GSM rates. But > i'm getting 0 bit rate for AMR-NB codec as I previously > told and GSM/G729 is perfectly alright- Freeswitch *should* recognize AMR-NB 12200. Have you seen it do it? My point is there is a reasonable possibility that you have to specify GSM-FR, not AMR-NB, and you should try that. -Jeff > sofia_glue.c:4729 Audio Codec Compare [AMR:96:8000:20:0]/[AMR:96:8000:20:12200] > > Why Freeswitch is getting 0 bit rate for AMR codec? > > Regards > Tamvir > > --- On Tue, 8/9/11, Jeff Brower <jbrower at signalogic.com> wrote: > > From: Jeff Brower <jbrower@xxxxxxxxxxxxxx> > Subject: Re: Pjsip AMR codec > To: "MD.Ehteshamul Haque Tamvir" <mtamvir at yahoo.com> > Cc: pjsip at lists.pjsip.org > Date: Tuesday, August 9, 2011, 1:24 AM > > Tamvir- > >> Hi all,I used Pjsip AMR-NB codec with bitrate 12200 >> for symbian s60 3rd edition FP2. >> >> attr->info.avg_bps = 12200; >> >> When I'm passing AMR codec, freeswitch gets 0 bit >> rate from pjsip amr codec >> >> sofia_glue.c:4729 Audio Codec Compare >> [AMR:96:8000:20:0]/[AMR:96:8000:20:12200] >> >> but when I'm passing GSM/G729 codec,? freeswitch >> gets right bit rate for them >> >> sofia_glue.c:4729 Audio Codec Compare >> [GSM:3:8000:20:13200]/[GSM:3:8000:20:13200] >> >> sofia_glue.c:4729 Audio Codec Compare >> [G729:18:8000:20:8000]/[G729:18:8000:20:8000] >> >> Why freeswitch is getting 0 bit rate for AMR codec? > > I would think that Freeswitch would recognize 12200, since AMR-NB includes legacy GSM rates.? But, you might want to > check whether freeswitch treats "GSM enhanced full rate" differently; i.e. has a different codec type for that. > > -Jeff > >