<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Hello Ulrich,<br>
    <br>
    take a look at
    <a class="moz-txt-link-freetext" href="https://freeswitch.org/confluence/display/FREESWITCH/Codec+Negotiation">https://freeswitch.org/confluence/display/FREESWITCH/Codec+Negotiation</a><br>
    The parameter "disable-transcoding" is for the early codec
    negotiation. But you want to have a late codec negotiation.<br>
    <br>
    <blockquote type="cite">
      <p><em>Note</em>: it is commonly misunderstood that this parameter
        disables the transcoding capability in FS. That is wrong.</p>
      <p>This parameter just changes the outbound codec to match the one
        negotiated on the inbound leg so that no transcoding will be
        required.</p>
    </blockquote>
    (Wiki Quote)<br>
    <br>
    Also the codec list is a priority list. When you list PCMU first, it
    is chosen first.<br>
    <br>
    - Paul<br>
    <br>
    <div class="moz-cite-prefix">Am 07.11.18 um 13:55 schrieb Ulrich
      Backes:<br>
    </div>
    <blockquote type="cite"
      cite="mid:380673553.633982.1541595357082@webmail.strato.de">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <meta charset="UTF-8">
      <p>Hi guys,<br>
        <br>
        I've investigated many hours and cannot solve this problem:<br>
        A and B should use g711u. </p>
      <p><br>
        A:  <img src="cid:part1.2CF039A6.DA99EF7B@paulzillmann.de"
          style="max-width: 100%;" class="aspect-ratio" alt=""
          from_clipboard="true"></p>
      <p><br>
        B:  <img src="cid:part2.C6B3B963.E47502AC@paulzillmann.de"
          style="max-width: 100%;" class="aspect-ratio" alt=""
          from_clipboard="true"><br>
        <br>
        But FreeSwitch decides to transcode:<br>
      </p>
      <p> <img src="cid:part3.D8114434.BDC1F822@paulzillmann.de"
          style="max-width: 100%;" class="aspect-ratio" alt=""
          from_clipboard="true"><br>
        The settings:<br>
        vars.xml<br>
        <X-PRE-PROCESS cmd="set"
        data="media_mix_inbound_outbound_codecs=false"/> <br>
        <X-PRE-PROCESS cmd="set"
        data="global_codec_prefs=OPUS,G722,PCMU,PCMA,VP8"/> <br>
        <br>
        internal.xml<br>
        <param name="inbound-codec-negotiation" value="greedy"/><br>
        <param name="inbound-late-negotiation" value="true"/> <br>
        <param name="disable-transcoding" value="true"/> <br>
        <br>
        <param name="inbound-proxy-media" value="false"/> <br>
        <param name="inbound-bypass-media" value="false"/><br>
        <param name="inbound-codec-prefs"
        value="$${global_codec_prefs}"/><br>
        <param name="outbound-codec-prefs"
        value="$${global_codec_prefs}"/><br>
        <br>
        default.xml (Using the demo-Dialplan)<br>
        <extension name="Local_Extension"><br>
        ...<br>
        <br>
        Using FS v 1.8</p>
      <p>Thanks.<br>
        Uli<br>
        <br>
      </p>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_________________________________________________________________________
Professional FreeSWITCH Services
<a class="moz-txt-link-abbreviated" href="mailto:sales@freeswitch.com">sales@freeswitch.com</a>
<a class="moz-txt-link-freetext" href="https://freeswitch.com">https://freeswitch.com</a>

Official FreeSWITCH Sites
<a class="moz-txt-link-freetext" href="https://freeswitch.com/oss">https://freeswitch.com/oss</a>
<a class="moz-txt-link-freetext" href="https://freeswitch.org/confluence">https://freeswitch.org/confluence</a>
<a class="moz-txt-link-freetext" href="https://cluecon.com">https://cluecon.com</a>

FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="https://freeswitch.com">https://freeswitch.com</a></pre>
    </blockquote>
    <br>
  </body>
</html>