G723 Codec Issues

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Rams,

Couldn't tell anything except that the codec parameter for pjmedia
seems to be fine which is important for SDP negotiation and media
framework setup :)

Perhaps something about G.723 implementation/configuration
incompatibility, such as VAD was used but not really supported in one
side, or extremely/unlikely the PSTN side expected only 5300bps
bitrate.

Bad RTP message may be harmless as you got audible audio, also not
sure about the usage of static payload type 19 there.

BR,
nanang


On Fri, Mar 12, 2010 at 8:17 PM, rams <rammeth at yahoo.co.in> wrote:
>
> Hi Benny/Nanang,
>
> ? I integrated G723 Codec in to PJSIP successfully,
>
> These are the parameters iam using while configuring G723 to PJSIP
>
> pj_bzero(attr, sizeof(pjmedia_codec_param));
> ??? attr->info.clock_rate = 8000;
> ??? attr->info.channel_cnt = 1;
> ??? attr->info.avg_bps = 6300;
> ??? attr->info.pcm_bits_per_sample = 16;
> ??? attr->info.frm_ptime = 30;
> ??? attr->info.pt = PJMEDIA_RTP_PT_G723;
>
> ??? attr->setting.frm_per_pkt = 1;
> ??? attr->setting.vad = 1;
> #if !PLC_DISABLED
> ??? attr->setting.plc = 1;
> #endif
>
> /* Enable high pass filter */
> ??? g723_set_hp(1);
>
> ??? /* Enable post filter */
> ??? g723_set_pf(1);
>
> ??? /* Enable VAD */
> ??? g723_set_vx(0);
>
> ??? /* Use 6.3kbps rate */
> ??? g723_set_rate(0);
>
>
> In X SIP Server i created two Accounts A and B
>
> If i call from A to B voice is audible at both sides with out disturbance.
>
> while iam calling from A to PSTN Mobile Call,from A side voice is audible clearly at Mobile side voice with disturbance.
> At the same time after call connected iam getting Bad RTP
>
> ?pjsua_app.c? Media for call 1 is active
> ?sound_port.c? EC activated
> ?strm00D158BC? VAD re-enabled
> ?strm00D158BC? Bad RTP pt 19 (expecting 4)
> ?strm00D158BC? Bad RTP pt 19 (expecting 4)
> ?strm00D158BC? Bad RTP pt 19 (expecting 4)
> ?strm00D158BC? Bad RTP pt 19 (expecting 4)
> ?strm00D158BC? Bad RTP pt 19 (expecting 4)
>
> if i use the GSM codec wt PJSIP is provided,after call connecting everything fine.
> wt is the problem while adding the G723 codec,could you explain clearly...
>
> Regards
> Rams
>
>
>
>
>
>
>
>
>
> ________________________________
> The INTERNET now has a personality. YOURS! See your Yahoo! Homepage.
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
>
> pjsip mailing list
> pjsip at lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>



[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux