<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:courier,monaco,monospace,sans-serif;font-size:12pt">I fixed it the best I could (At least for SIP)<br><br>The stupid thing here is that there really is an 8khz g722<br>and the moronic lemmings who would implement the *wideband* version<br>to say 8000 despite the fact that they *know* it is 16000 <br>and are too stupid to realize should be the ones to suffer not us.<br><br>sigh,<br><br>I moved actual 8k g722 to payload 109 name G722_8<br><br>and put 16k g722 on payload 9 by itself and added a hack to the <br>sdp generator in mod_sofia to display 8000 <br><br>This makes my stomach turn but I guess we must do whatever it takes<br>to preserve stupidity.&nbsp; This makes me wonder if more of the SIP and SDP RFC's are just typo's which would explain a lot....<br><br><br><br><br><div>&nbsp;</div><div>Anthony Minessale II<br><br><span>FreeSWITCH <a target="_blank"
 href="http://www.freeswitch.org/">http://www.freeswitch.org/</a></span><br><span>ClueCon <a target="_blank" href="http://www.cluecon.com/">http://www.cluecon.com/</a></span><br><br>AIM: anthm<br>MSN:anthony_minessale@hotmail.com<br>JABBER:anthony.minessale@gmail.com<br>IRC: irc.freenode.net #freeswitch</div><div><br>FreeSWITCH Developer Conference<br>sip:888@conference.freeswitch.org<br>iax:guest@conference.freeswitch.org/888<br>googletalk:conf+888@conference.freeswitch.org<br>pstn:213-799-1400</div><div style="font-family: courier,monaco,monospace,sans-serif; font-size: 12pt;"><br><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">----- Original Message ----<br>From: "Sluschny, Thomas" &lt;Thomas.Sluschny@siemens.com&gt;<br>To: freeswitch-users@lists.freeswitch.org<br>Sent: Tuesday, March 20, 2007 11:42:17 AM<br>Subject: [Freeswitch-users] G722 8000 vs 16000<br><br><div>Hi,<br><br>i want to use G.722 with its wide audio bandwith of
 7kHz.<br>But i have found that FreeSwitch resamples always from 16000 to 8000<br>Samples/s if i connect a "standard device", i. e. a SIP device with a<br>"G722:9/8000" in its SDP.<br><br>On the other side it is possible to use full bandwith if there is a<br>"G722:9/16000" in SDP.<br><br>I think this is not correct!<br>FreeSwitch should always use 16000S/s and also use "G722:9/8000" in SDP!<br><br>Read RFC3551, 4.5.2:<br>...Even though the actual sampling rate for G.722 audio is 16,000 Hz,<br>&nbsp;&nbsp; the RTP clock rate for the G722 payload format is 8,000 Hz because<br>&nbsp;&nbsp; that value was erroneously assigned in RFC 1890 and must remain<br>&nbsp;&nbsp; unchanged for backward compatibility.<br>...<br><br>I tried the 16kHz-implementation with a SIP phone (siemens optipoint 410<br>with "G722:9/8000") and it seems to work.<br><br>In the g722.h file is mentioned that the 8k option is used for fast and<br>flexible interworking with narrow band telephony. I think this
 is a<br>special case (we also support G711 for this). Our default should be<br>16000S/s and "G722:9/8000".<br><br>What do u think?<br><br>Thomas<br><br>_______________________________________________<br>Freeswitch-users mailing list<br>Freeswitch-users@lists.freeswitch.org<br><a target="_blank" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>UNSUBSCRIBE:<a target="_blank" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br><a target="_blank" href="http://www.freeswitch.org">http://www.freeswitch.org</a><br></div></div><br></div></div><br>

<hr size=1>Now that's room service! <a href="http://travel.yahoo.com/hotelsearchpage;_ylc=X3oDMTFtaTIzNXVjBF9TAzk3NDA3NTg5BF9zAzI3MTk0ODEEcG9zAzIEc2VjA21haWx0YWdsaW5lBHNsawNxMS0wNw--
">Choose from over 150,000 hotels <br>in 45,000 destinations on Yahoo! Travel</a> to find your fit.</body></html>