Mantis Bugtracker

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000310 [Yate - Yet Another Telephony Engine] module minor always 2012-07-03 00:35 2012-07-07 02:51
Reporter lentyai View Status public  
Assigned To
Priority normal Resolution open  
Status feedback   Product Version 4.x
Summary 0000310: g729b not work
Description VAD not work with g729 codec. From one side with g729b enabled hear fine but from another - gurgling sounds. Same result with record sound from g729b device. With YATE 3 same thing. Changing option in ysipchan.conf not worked. In fact I can only disable support VAD (g729_annexb=disable in codecs section). Build codec with Intel IPP 6.1 update 6. Also trying with Intel IPP different version number without positive result.
Additional Information
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0000461)
paulc (administrator)
2012-07-06 11:47

Can you please describe your setup, what direction it works and what does not? What direction you have the "gurgling sounds"?

From your description regarding "record sound from g729b device" I guess it's about the decoder (other G.729B encoder -> Yate -> decoder -> save to PCM file) - is that correct?

What type is the other equipment you are calling?
(0000462)
lentyai (reporter)
2012-07-07 02:46

Main YATE (version 3.3) system was build on CentOS 5, it using as office phone network. For softphones and D-link phones all works great, users call each other. We also have connect to SIP provider for some foreign destinations. SIP provider not support codec transcoding, so I setup codec for YATE. Here codec setup config:

cd /usr/src
hg clone https://bitbucket.org/arkadi/yate-g72x [^]
cd yate-g72x
./configure
make
make install
cd ..


in regexroute.conf adding next lines:
[default]

...

${address}^192\.168\.1\.1=goto provider
${username}^$=-;error=noauth
.*=-;error=noauth

[provider]
^380.*$=sip/sip:${called}@AA.BB.CC.DD
^48.*$=sip/sip:${called}@AA.BB.CC.DD
.*=tone/outoforder

and of course users add in regfile.conf

Calls connected fine but on some destinations hear "gurgling sounds". In wireshark I see what another side connected with g729 annex B. So, I trying to repeat this situation, live only g729b on D-Link and call to another softphone(g711 only).
From g729b side heard well, from g711 side "gurgling sounds". Wireshark say what call connected with g711 from one side and g729(without VAD) from another.
In ITU standart says g729 annex B support pure g729 and g729 annex A (it called g729ab). Trying to force g729b in ysipchan.conf with "g729_annexb=yes" options without positive result. Repeat test with Addpac AP200, Siemens Gigaset A510 with same result.
Compiling YATE 4.1 with codec support on another machine with clear system, changing CentOS from 5 to 6, trying different Intell IPP's - without any positive result.
Then compiling codecs, always got this:
encg729fp.c: In function ‘CodecType2Num’:
encg729fp.c:85: warning: enumeration value ‘G729I_CODEC’ not handled in switch
encg729fp.c: In function ‘apiG729FPEncode’:
encg729fp.c:642: warning: implicit declaration of function ‘abs’
encg729fp.c:791: warning: enumeration value ‘G729I_CODEC’ not handled in switch
gcc -Wall -I. -I/opt/intel/ipp/6.1.6.063/ia32/include -O2 -fno-exceptions -fPIC -DHAVE_GCC_FORMAT_CHECK -DHAVE_BLOCK_RETURN -I/usr/local/include/yate -c owng729fp.c
owng729fp.c: In function ‘PitchTracking_G729FPE’:
owng729fp.c:537: warning: implicit declaration of function ‘abs’
gcc -Wall -I. -I/opt/intel/ipp/6.1.6.063/ia32/include -O2 -fno-exceptions -fPIC -DHAVE_GCC_FORMAT_CHECK -DHAVE_BLOCK_RETURN -I/usr/local/include/yate -c vadg729fp.c
vadg729fp.c: In function ‘VoiceActivityDetect_G729_32f’:
vadg729fp.c:303: warning: suggest parentheses around && within ||
ar rcs libg729.a decg729fp.o encg729fp.o owng729fp.o vadg729
(0000463)
lentyai (reporter)
2012-07-07 02:51

> From your description regarding "record sound from g729b device" I guess it's about the decoder (other G.729B encoder -> Yate -> decoder -> save to PCM file) - is that correct?

yes, and it not device problem, because in P2P mode(one phone connect directly to another) audio good from both side, device from different developers.

- Issue History
Date Modified Username Field Change
2012-07-03 00:35 lentyai New Issue
2012-07-06 11:47 paulc Note Added: 0000461
2012-07-06 11:47 paulc Status new => feedback
2012-07-07 02:46 lentyai Note Added: 0000462
2012-07-07 02:51 lentyai Note Added: 0000463


Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker