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'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'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'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"><<a href="mailto:max.clark@gmail.com">max.clark@gmail.com</a>></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 <<a href="mailto:kris@kriskinc.com">kris@kriskinc.com</a>> wrote:<br>
> Fax over g711 (if it's going to work at all) should not be affected by<br>
> proxy media or default media handling as long as you allow PCMU/PCMA<br>
> when using the default media handling. However, T38 and fax over 711<br>
> are completely different. Using T38 through FreeSWITCH with the<br>
> default media handling will require some extra configuration (nothing<br>
> drastic).<br>
><br>
> No one said anything about transcoding... Proxy media mode does not<br>
> have the ability to transcode at all as FreeSWITCH is completely<br>
> unaware what codec you are using (internally it actually reports<br>
> "proxy" as the codec).<br>
><br>
> Just because you're using default media mode DOES NOT mean you will be<br>
> transcoding. Using some Sofia params and late-negotiation dialplan<br>
> logic you can have an incredible amount of control over what codecs<br>
> your end points are using. As long as they agree on at least one<br>
> codec and codec parameters you are the one who decides which codecs<br>
> take precedence and whether or not you'll be transcoding.<br>
><br>
> On Wed, Mar 9, 2011 at 12:13 PM, Max Clark <<a href="mailto:max.clark@gmail.com">max.clark@gmail.com</a>> wrote:<br>
>> Advantages of Proxy Media:<br>
>><br>
>> 1) Support codecs not natively supported by FreeSWITCH<br>
>> 2) Lower CPU resources on FreeSWITCH<br>
>><br>
>> So for 1) I'm really only concerned with t38/fax over g711. With our<br>
>> current configuration faxing (although unsupported) is working just<br>
>> fine. What should I expect if I revert to media mode?<br>
>><br>
>> 2) If I disable transcoding, what kind of difference in resource<br>
>> utilization should I expect? Nominal (less than 10%), Moderate<br>
>> (11-30%), or more?<br>
>><br>
>> Thanks,<br>
>> Max<br>
>><br>
><br>
> --<br>
> Kristian Kielhofner<br>
><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>