<HTML>
<HEAD>
<TITLE>Re: [Freeswitch-users] Limiting available codecs in bypass media mode</TITLE>
</HEAD>
<BODY>
<FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:11pt'>Sending G722 to the carrier isnt that big of a deal... If they support it and accept it no problem, if they don&#8217;t support it, they&#8217;ll pick something else...<BR>
<BR>
As far as WAN bandwidth its the same as G722...<BR>
<BR>
K<BR>
<BR>
<BR>
On 7/11/13 1:12 PM, &quot;Phil Quesinberry&quot; &lt;<a href="philq@qsystemsengineering.com">philq@qsystemsengineering.com</a>&gt; wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><SPAN STYLE='font-size:11pt'><FONT FACE="Calibri, Verdana, Helvetica, Arial">I&#8217;m wondering what the best way is to limit the available codecs when making outbound</FONT><FONT FACE="Monaco, Courier New"> </FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial">bypass-media calls to the PSTN. &nbsp;The scenario is as follows:<BR>
</FONT><FONT FACE="Monaco, Courier New"><BR>
</FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial">Extension phones have HD codecs including G722</FONT><FONT FACE="Monaco, Courier New"> </FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial">enabled for the best audio quality between extensions for internal calls. &nbsp;When an outbound call is made</FONT><FONT FACE="Monaco, Courier New"> </FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial">to the PSTN, the first-choice wholesale provider we use</FONT><FONT FACE="Monaco, Courier New"> </FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial">offers (and seems to prefer) G722. &nbsp;We&#8217;d rather ensure that G711 is used instead. &nbsp;Despite the fact that G722 is not</FONT><FONT FACE="Monaco, Courier New"> </FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial">enabled for any of the codec prefs (I grep&#8217;ed</FONT><FONT FACE="Monaco, Courier New"> </FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial">the entire conf dir path</FONT><FONT FACE="Monaco, Courier New"> </FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial">to be sure), FS still passes along the offer of G722 from the endpoint, presumably since it&#8217;s operating in bypass-media mode.<BR>
</FONT><FONT FACE="Monaco, Courier New"><BR>
</FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial">Is there a</FONT><FONT FACE="Monaco, Courier New"> </FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial">setting to limit the codecs despite</FONT><FONT FACE="Monaco, Courier New"> </FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial">having</FONT><FONT FACE="Monaco, Courier New"> </FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial">bypass media set? &nbsp;Could we</FONT><FONT FACE="Monaco, Courier New"> </FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial">work around this by</FONT><FONT FACE="Monaco, Courier New"> </FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial">getting rid of</FONT><FONT FACE="Monaco, Courier New"> </FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial">the global</FONT><FONT FACE="Monaco, Courier New"> </FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial">bypass media</FONT><FONT FACE="Monaco, Courier New"> </FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial">setting</FONT><FONT FACE="Monaco, Courier New"> </FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial">and then setting</FONT><FONT FACE="Monaco, Courier New"> </FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial">bypass-media before bridging the call?<BR>
</FONT><FONT FACE="Monaco, Courier New"><BR>
</FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial">Thanks,<BR>
</FONT><FONT FACE="Monaco, Courier New"><BR>
</FONT><FONT FACE="Times New Roman"><I>Phil Quesinberry<BR>
</I></FONT><FONT FACE="Monaco, Courier New"><BR>
</FONT><FONT FACE="Arial">Q Systems Engineering, Inc.<BR>
</FONT><FONT FACE="Monaco, Courier New"><BR>
</FONT><FONT FACE="Arial">Embedded Hardware/Software</FONT><FONT FACE="Monaco, Courier New"> </FONT><FONT FACE="Arial">Development and VoIP Business Telephone Hosting<BR>
</FONT><FONT FACE="Monaco, Courier New"><BR>
</FONT><FONT COLOR="#1F497D"><FONT FACE="Arial"><I>Improve your business telephone services and save money<BR>
</I></FONT></FONT><FONT FACE="Monaco, Courier New"><BR>
</FONT><FONT FACE="Arial">(410) 969-8002<BR>
</FONT><FONT FACE="Monaco, Courier New"><BR>
</FONT><FONT COLOR="#0000FF"><FONT FACE="Arial"><U><a href="http://www.qsystemsengineering.com">http://www.qsystemsengineering.com</a></U></FONT></FONT><FONT FACE="Monaco, Courier New"> &lt;<a href="http://www.qsystemsengineering.com/">http://www.qsystemsengineering.com/</a>&gt; <BR>
<BR>
<BR>
<HR ALIGN=CENTER SIZE="3" WIDTH="95%"></FONT></SPAN><FONT SIZE="2"><FONT FACE="Consolas, Courier New, Courier"><SPAN STYLE='font-size:10pt'>_________________________________________________________________________<BR>
Professional FreeSWITCH Consulting Services:<BR>
<a href="consulting@freeswitch.org">consulting@freeswitch.org</a><BR>
<a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a><BR>
<BR>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<BR>
<a href="http://www.cudatel.com">http://www.cudatel.com</a><BR>
<BR>
Official FreeSWITCH Sites<BR>
<a href="http://www.freeswitch.org">http://www.freeswitch.org</a><BR>
<a href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a><BR>
<a href="http://www.cluecon.com">http://www.cluecon.com</a><BR>
<BR>
FreeSWITCH-users mailing list<BR>
<a href="FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><BR>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><BR>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><BR>
<a href="http://www.freeswitch.org">http://www.freeswitch.org</a><BR>
</SPAN></FONT></FONT></BLOCKQUOTE><FONT SIZE="2"><FONT FACE="Consolas, Courier New, Courier"><SPAN STYLE='font-size:10pt'><BR>
</SPAN></FONT></FONT><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:11pt'>-- <BR>
Ken<BR>
<FONT COLOR="#0000FF"><U><a href="http://www.FreeSWITCH.org">http://www.FreeSWITCH.org</a><BR>
<a href="http://www.ClueCon.com">http://www.ClueCon.com</a><BR>
<a href="http://www.OSTAG.org">http://www.OSTAG.org</a><BR>
</U></FONT>irc.freenode.net #freeswitch<BR>
</SPAN></FONT>
</BODY>
</HTML>