[Freeswitch-users] G722 8000 vs 16000

Anthony Minessale anthmct at yahoo.com
Wed Mar 21 07:21:46 PDT 2007


yes it's already checked in as of the send date on my last email.


 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/

AIM: anthm
MSN:anthony_minessale at hotmail.com
JABBER:anthony.minessale at gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org
iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org
pstn:213-799-1400


----- Original Message ----
From: "Sluschny, Thomas" <Thomas.Sluschny at siemens.com>
To: freeswitch-users at lists.freeswitch.org
Sent: Wednesday, March 21, 2007 7:31:55 AM
Subject: Re: [Freeswitch-users] G722 8000 vs 16000



 
DIV {
MARGIN:0px;}



Thank you very much, it is a really silly problem 
;)

 

So i can take the latest trunk version with your patch 
?

(is it already checked in?)

 






Von: 
freeswitch-users-bounces at lists.freeswitch.org 
[mailto:freeswitch-users-bounces at lists.freeswitch.org] Im Auftrag von 
Anthony Minessale
Gesendet: Mittwoch, 21. März 2007 
00:18
An: freeswitch-users at lists.freeswitch.org
Betreff: Re: 
[Freeswitch-users] G722 8000 vs 16000





I 
fixed it the best I could (At least for SIP)

The stupid thing here is 
that there really is an 8khz g722
and the moronic lemmings who would 
implement the *wideband* version
to say 8000 despite the fact that they 
*know* it is 16000 
and are too stupid to realize should be the ones to 
suffer not us.

sigh,

I moved actual 8k g722 to payload 109 name 
G722_8

and put 16k g722 on payload 9 by itself and added a hack to the 

sdp generator in mod_sofia to display 8000 

This makes my stomach 
turn but I guess we must do whatever it takes
to preserve stupidity.  
This makes me wonder if more of the SIP and SDP RFC's are just typo's which 
would explain a lot....





 

Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/

AIM: 
anthm
MSN:anthony_minessale at hotmail.com
JABBER:anthony.minessale at gmail.com
IRC: 
irc.freenode.net #freeswitch


FreeSWITCH Developer 
Conference
sip:888 at conference.freeswitch.org
iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org
pstn:213-799-1400




----- 
Original Message ----
From: "Sluschny, Thomas" 
<Thomas.Sluschny at siemens.com>
To: 
freeswitch-users at lists.freeswitch.org
Sent: Tuesday, March 20, 2007 11:42:17 
AM
Subject: [Freeswitch-users] G722 8000 vs 16000


Hi,

i want to use G.722 with its wide audio bandwith of 7kHz.
But 
i have found that FreeSwitch resamples always from 16000 to 8000
Samples/s if 
i connect a "standard device", i. e. a SIP device with a
"G722:9/8000" in its 
SDP.

On the other side it is possible to use full bandwith if there is 
a
"G722:9/16000" in SDP.

I think this is not correct!
FreeSwitch 
should always use 16000S/s and also use "G722:9/8000" in SDP!

Read 
RFC3551, 4.5.2:
...Even though the actual sampling rate for G.722 audio is 
16,000 Hz,
   the RTP clock rate for the G722 payload format is 
8,000 Hz because
   that value was erroneously assigned in RFC 1890 
and must remain
   unchanged for backward 
compatibility.
...

I tried the 16kHz-implementation with a SIP phone 
(siemens optipoint 410
with "G722:9/8000") and it seems to work.

In 
the g722.h file is mentioned that the 8k option is used for fast and
flexible 
interworking with narrow band telephony. I think this is a
special case (we 
also support G711 for this). Our default should be
16000S/s and 
"G722:9/8000".

What do u 
think?

Thomas

_______________________________________________
Freeswitch-users 
mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org








Now that's room service! Choose 
from over 150,000 hotels 
in 45,000 destinations on Yahoo! Travel to find 
your fit._______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org







 
____________________________________________________________________________________
Get your own web address.  
Have a HUGE year through Yahoo! Small Business.
http://smallbusiness.yahoo.com/domains/?p=BESTDEAL
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20070321/1927951e/attachment-0002.html 


More information about the FreeSWITCH-users mailing list