[Freeswitch-users] Problems with G722 sample rate

Wesley Akio wesleyakio at tuntscorp.com
Mon Jul 8 20:17:03 MSD 2013


Hi all,

I'm having some trouble with G722 and AudioCodes HD310 in latest
1.2-stable...

The phone sends the SDP:
v=0
o=1000 946688278 946688278 IN IP4 192.168.0.108
s=-
c=IN IP4 192.168.0.108
t=0 0
m=audio 4000 RTP/AVP 9 0 8 18 101
a=rtpmap:9 G722/16000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15

But Freeswitch is prepared to accept only G722 at 8000 as can be seen in:

[DEBUG] sofia_glue.c:5181 Audio Codec Compare
[G722:9:16000:20:64000]/[G722:9:8000:10:64000]

For now I've changed the source to accept 16000 but according to Anthony,
as per the RFC, 8000 is the correct value.

I've seen some conversations between Nandy Dagondon ans Steven Ayre but I'm
not sure if it is the same issue, nonetheless I could not find a solution.

has anyone faced a similar problem and found a viable solution?

Best,

Wesley Akio
TuntsCorp.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130708/c34da993/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list