Hello Ulrich, take a look at https://freeswitch.org/confluence/display/FREESWITCH/Codec+Negotiation The parameter "disable-transcoding" is for the early codec negotiation. But you want to have a late codec negotiation.
/Note/: it is commonly misunderstood that this parameter disables the transcoding capability in FS. That is wrong.
This parameter just changes the outbound codec to match the one negotiated on the inbound leg so that no transcoding will be required.
(Wiki Quote) Also the codec list is a priority list. When you list PCMU first, it is chosen first. - Paul Am 07.11.18 um 13:55 schrieb Ulrich Backes:
Hi guys,
I've investigated many hours and cannot solve this problem: A and B should use g711u.
A:
B:
But FreeSwitch decides to transcode:
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
_________________________________________________________________________ Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com