Yes.<br><br>You said you have PCMU and G729 enabled? Is that both inbound and outbound?<br><br>If so, it means that either your caller negotiated PCMU with FS, then FS offers PCMU+G729 to the callee and they pick G729, or visa versa.<br>

<br>That&#39;s because FS will offer all the enabled codecs on the bleg. That leaves the choice up to the callee on what they use and it might not be the same as the aleg. That&#39;s only a problem with passthrough codecs such as G729, or if you want to avoid transcoding because of CPU.<br>

<br>The way around it is to set either disable-transcoding or late-negotiation parameters on the SIP profile.<br>disable-transcoding will only offer on the bleg the codec which has already been negotiated for the aleg.<br>

late-negotiation approaches it from the other end - it doesn&#39;t pick an aleg codec straight away but instead offers all the choices to the bleg and then uses for the aleg what the bleg selected.<br><br>-Steve<br><br><br>

<br><div class="gmail_quote">On 9 March 2011 19:21, Max Clark <span dir="ltr">&lt;<a href="mailto:max.clark@gmail.com">max.clark@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

So this is an interesting side effect of removing proxy_media=true<br>
from the dialplan:<br>
<br>
2011-03-09 19:17:31.055236 [ERR] mod_g729.c:145 This codec is only<br>
usable in passthrough mode!<br>
2011-03-09 19:17:31.055236 [ERR] switch_core_io.c:897 Codec G.729 decoder error!<br>
<br>
Am I reading this correctly that FreeSWITCH attempted to transcode a<br>
G.729 audio stream?<br>
<div><div></div><div class="h5"><br>
On Wed, Mar 9, 2011 at 11:07 AM, Kristian Kielhofner &lt;<a href="mailto:kris@kriskinc.com">kris@kriskinc.com</a>&gt; wrote:<br>
&gt; Fax over g711 (if it&#39;s going to work at all) should not be affected by<br>
&gt; proxy media or default media handling as long as you allow PCMU/PCMA<br>
&gt; when using the default media handling.  However, T38 and fax over 711<br>
&gt; are completely different.  Using T38 through FreeSWITCH with the<br>
&gt; default media handling will require some extra configuration (nothing<br>
&gt; drastic).<br>
&gt;<br>
&gt; No one said anything about transcoding...  Proxy media mode does not<br>
&gt; have the ability to transcode at all as FreeSWITCH is completely<br>
&gt; unaware what codec you are using (internally it actually reports<br>
&gt; &quot;proxy&quot; as the codec).<br>
&gt;<br>
&gt; Just because you&#39;re using default media mode DOES NOT mean you will be<br>
&gt; transcoding.  Using some Sofia params and late-negotiation dialplan<br>
&gt; logic you can have an incredible amount of control over what codecs<br>
&gt; your end points are using.  As long as they agree on at least one<br>
&gt; codec and codec parameters you are the one who decides which codecs<br>
&gt; take precedence and whether or not you&#39;ll be transcoding.<br>
&gt;<br>
&gt; On Wed, Mar 9, 2011 at 12:13 PM, Max Clark &lt;<a href="mailto:max.clark@gmail.com">max.clark@gmail.com</a>&gt; wrote:<br>
&gt;&gt; Advantages of Proxy Media:<br>
&gt;&gt;<br>
&gt;&gt; 1) Support codecs not natively supported by FreeSWITCH<br>
&gt;&gt; 2) Lower CPU resources on FreeSWITCH<br>
&gt;&gt;<br>
&gt;&gt; So for 1) I&#39;m really only concerned with t38/fax over g711. With our<br>
&gt;&gt; current configuration faxing (although unsupported) is working just<br>
&gt;&gt; fine. What should I expect if I revert to media mode?<br>
&gt;&gt;<br>
&gt;&gt; 2) If I disable transcoding, what kind of difference in resource<br>
&gt;&gt; utilization should I expect? Nominal (less than 10%), Moderate<br>
&gt;&gt; (11-30%), or more?<br>
&gt;&gt;<br>
&gt;&gt; Thanks,<br>
&gt;&gt; Max<br>
&gt;&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Kristian Kielhofner<br>
&gt;<br>
<br>
_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br><div style="visibility: hidden; left: -5000px; position: absolute; z-index: 9999; padding: 0px; margin-left: 0px; margin-top: 0px; overflow: hidden; word-wrap: break-word; color: black; font-size: 10px; text-align: left; line-height: 130%;" id="avg_ls_inline_popup">

</div>