Hi all, I just want to inform you about the solution of my problem: The principal point: I had to remove the ringback (local_extension in dialplan). Thank's for the advise and thanks for all other advise because I could learn from it. Thank you very much. Kind regards Uli -----Ursprüngliche Nachricht----- Von: Sebastian Kemper <sebastian_ml@gmx.net> Gesendet: Mittwoch, 7. November 2018 19:27 An: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> Betreff: Re: [Freeswitch-users] How to avoid transcoding? 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 --- Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft. https://www.avast.com/antivirus