faceing problem on asterisk codec G729 PLC

1,050 views
Skip to first unread message

iptel...@gmail.com

unread,
Aug 17, 2018, 12:39:47 PM8/17/18
to Asterisk G.729
i am using asterisk 13.21.1      on KVM     vps server    i have installed   codec_g729-ast130-gcc4-glibc2.2-x86_64-core2-sse4.so
but faceing  g729  PLC   issue    broken voice getting also

need help to solve the issue

andrew.mich...@gmail.com

unread,
Sep 20, 2018, 5:12:25 PM9/20/18
to Asterisk G.729
Did you ever figure this out?

I had the same issue. But it may not be the exact same cause.

I turned on 'g729 debug' in the asterisk cli with verbosity at 10 and saw in my case it was getting a ton of 0 length packets.. Which I certainly found odd. I believe each zero-length packet would trigger the packet loss correction routine build into the g729 codec in Asterisk 13. But it did NOT trigger it in asterisk 1.4 and I confirmed the machines on asterisk 1.4 where seeing the same 0 length packets but not doing anything.

It turned out to be settings in my Cisco gateway I am using. In my Cisco Gateway, I had comfort noise disabled but not VAD. This meant that zero-length 'comfort noise' packets where being sent. I am guessing they triggered false PLC execution which then mangles the otherwise perfectly good audio stream.

I did some research reconfigured a few things and verified vad was turned off in the cisco gateway and magically the errors went away and the audio is crystal clear.

So basically you want to make sure comfort noise and Voice Activity Detection type stuff on anything connecting to asterisk 13 with g729.

Hope this helps someone. Cause it was a nightmare to find/fix.
Reply all
Reply to author
Forward
0 new messages