On Wed, Nov 07, 2018 at 01:55:57PM +0100, Ulrich Backes wrote:
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
Hello Uli, FS (.111) starts generating ringback and decides to use G722 on A leg. So remove the ringback for starters. Also, I'd leave "inbound-codec-negotiation" at default. "disable-transcoding" should also not be set, as this is for early negotiation, not late, IIRC. Probably it does nothing when late negotiation is used, but better just remove it. You also need <action application="set" data="inherit_codec=true"/> in your dialplan. This is all written down here: https://freeswitch.org/confluence/display/FREESWITCH/Codec+Negotiation Kind regards, Seb