Setting FreeSWITCH to 'greedy' will cause the codecs you specified in FreeSWITCH to take priority which in your case is G722 as neither of your endpoints support OPUS, you could try setting 'inbound-codec-negotiation' to 'generous'. Even if configured correctly there will still be instances where transcoding may be required in particular if you allow call transfer, for example transferring a G722 call to an endpoint that only supports G711 will require transcoding. ________________________________ From: FreeSWITCH-users <freeswitch-users-bounces@lists.freeswitch.org> on behalf of Ulrich Backes <backes@solthor.de> Sent: 07 November 2018 12:55:57 To: freeswitch-users@lists.freeswitch.org Subject: [Freeswitch-users] How to avoid transcoding? Hi guys, I've investigated many hours and cannot solve this problem: A and B should use g711u. A: [cid:d242e27033084e59a8a877a137eb44ba@Open-Xchange] B: [cid:cd462457d2134dd4950ddf12e9e7ecf8@Open-Xchange] But FreeSwitch decides to transcode: [cid:61e85c8ab9904d83b9e3553e5745e36d@Open-Xchange] The settings: vars.xml <X-PRE-PROCESS cmd="set" data="media_mix_inbound_outbound_codecs=false"/> <X-PRE-PROCESS cmd="set" data="global_codec_prefs=OPUS,G722,PCMU,PCMA,VP8"/> internal.xml <param name="inbound-codec-negotiation" value="greedy"/> <param name="inbound-late-negotiation" value="true"/> <param name="disable-transcoding" value="true"/> <param name="inbound-proxy-media" value="false"/> <param name="inbound-bypass-media" value="false"/> <param name="inbound-codec-prefs" value="$${global_codec_prefs}"/> <param name="outbound-codec-prefs" value="$${global_codec_prefs}"/> default.xml (Using the demo-Dialplan) <extension name="Local_Extension"> ... Using FS v 1.8 Thanks. Uli