<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><em style="color: rgb(51, 51, 51); font-family: Arial, sans-serif; font-size: 14px; font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; line-height: 20px; widows: 1; background-color: rgb(255, 255, 255);" class="">media_mix_inbound_outbound_code=true</em><div class=""><div style="widows: 1;" class=""><font color="#333333" face="Arial, sans-serif" class=""><span style="font-size: 14px; background-color: rgb(255, 255, 255);" class=""><i class=""><br class=""></i></span></font></div><div style="widows: 1;" class=""><a href="https://freeswitch.org/confluence/display/FREESWITCH/Codec+Negotiation#CodecNegotiation-MixingMedia/Codecsondifferentlegs(transcoding)" class="">https://freeswitch.org/confluence/display/FREESWITCH/Codec+Negotiation#CodecNegotiation-MixingMedia/Codecsondifferentlegs(transcoding)</a></div><div class=""><div style="widows: 1;" class=""><font color="#333333" face="Arial, sans-serif" class=""><span style="font-size: 14px; background-color: rgb(255, 255, 255);" class=""><i class=""><br class=""></i></span></font></div><div style=""><blockquote type="cite" class=""><div class="">On May 31, 2016, at 9:41 AM, Kim Rostgaard Christensen &lt;<a href="mailto:krc@retrospekt.dk" class="">krc@retrospekt.dk</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class="">
  
    <meta content="text/html; charset=windows-1252" http-equiv="Content-Type" class="">
  
  <div text="#000000" bgcolor="#FFFFFF" class="">
    <div class="moz-cite-prefix">
      <meta http-equiv="content-type" content="text/html;
        charset=windows-1252" class="">
      We've had a sort-a breakthrough:<br class="">
      <br class="">
      If we override the codec string<br class="">
      originate loopback/5900/default
      &amp;bridge({absolute_codec_string='PCMA,PCMU'}sofia/gateway/gw/number)<br class="">
      <br class="">
      We can get the gateway to accept our call. This is most like due
      to them not supporting L16 - which makes the
      BEARERCAPABILITY_NOTAVAIL make sense. Yay!<br class="">
      <br class="">
      SDP then becomes:<br class="">
      <br class="">
      v=0<br class="">
      o=FreeSWITCH 1464414375 1464414376 IN IP4 192.168.1.4<br class="">
      s=FreeSWITCH<br class="">
      c=IN IP4 192.168.1.4<br class="">
      t=0 0<br class="">
      m=audio 24744 RTP/AVP 8 101<br class="">
      a=rtpmap:8 PCMA/8000<br class="">
      a=rtpmap:101 telephone-event/8000<br class="">
      a=fmtp:101 0-16<br class="">
      a=ptime:20<br class="">
      <br class="">
      And everything is fine. Sound comes through, and connection is
      stable.<br class="">
      <br class="">
      This raises two questions:<br class="">
      <br class="">
      1. We would really like the default behaviour to use PCMA/8000 for
      outbound bridged channels.<br class="">
      How do we go about this?<br class="">
      <br class="">
      2. Is this intended that a minor release should have such large
      impact on the SDP and, if so, can anyone elaborate on this?<br class="">
      <br class="">
      Best<br class="">
      Kim<br class="">
      <wbr style="color: rgb(34, 34, 34); font-family: arial,
        sans-serif; font-size: 12.8px; font-style: normal; font-variant:
        normal; font-weight: normal; letter-spacing: normal;
        line-height: normal; orphans: auto; text-align: start;
        text-indent: 0px; text-transform: none; white-space: normal;
        widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px;
        background-color: rgb(255, 255, 255);" class=""><wbr style="color:
        rgb(34, 34, 34); font-family: arial, sans-serif; font-size:
        12.8px; font-style: normal; font-variant: normal; font-weight:
        normal; letter-spacing: normal; line-height: normal; orphans:
        auto; text-align: start; text-indent: 0px; text-transform: none;
        white-space: normal; widows: 1; word-spacing: 0px;
        -webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
        255);" class=""><br class="">
      <br class="">
      On 2016-05-27 16:32, Kim Rostgaard Christensen wrote:<br class="">
    </div>
    <blockquote cite="mid:57485A7D.1000302@retrospekt.dk" type="cite" class="">
      <meta content="text/html; charset=windows-1252" http-equiv="Content-Type" class="">
      <div class="moz-cite-prefix">We finally got around to getting a
        SIP trace.<br class="">
        <br class="">
        The only difference we can find is in the SDP<br class="">
        <br class="">
        1.6.2:<br class="">
        <br class="">
        v=0
        <br class="">
        o=FreeSWITCH 1464328347 1464328348 IN IP4 192.168.1.3
        <br class="">
        s=FreeSWITCH
        <br class="">
        c=IN IP4 192.168.1.3
        <br class="">
        t=0 0
        <br class="">
        m=audio 28898 RTP/AVP 102 103 9 0 8 3 101 13 104 105
        <br class="">
        a=rtpmap:102 L16/8000
        <br class="">
        a=rtpmap:103 opus/48000/2
        <br class="">
        a=fmtp:103 useinbandfec=1; usedtx=1; maxaveragebitrate=30000;
        maxplaybackrate=48000; ptime=20; minptime=20; maxptime=20;
        samplerate=48000; sprop-stereo=1
        <br class="">
        a=rtpmap:9 G722/8000
        <br class="">
        a=rtpmap:0 PCMU/8000
        <br class="">
        a=rtpmap:8 PCMA/8000
        <br class="">
        a=rtpmap:3 GSM/8000
        <br class="">
        a=rtpmap:101 telephone-event/8000
        <br class="">
        a=fmtp:101 0-16
        <br class="">
        a=rtpmap:13 CN/8000
        <br class="">
        a=rtpmap:104 telephone-event/48000
        <br class="">
        a=fmtp:104 0-16
        <br class="">
        a=rtpmap:105 CN/48000
        <br class="">
        a=ptime:20
        <br class="">
        <br class="">
        1.6.8:<br class="">
        <br class="">
        v=0
        <br class="">
        o=FreeSWITCH 1464330840 1464330841 IN IP4 192.168.1.4
        <br class="">
        s=FreeSWITCH
        <br class="">
        c=IN IP4 192.168.1.4
        <br class="">
        t=0 0
        <br class="">
        m=audio 28118 RTP/AVP 102 101 13
        <br class="">
        a=rtpmap:102 L16/8000
        <br class="">
        a=rtpmap:101 telephone-event/8000
        <br class="">
        a=fmtp:101 0-16
        <br class="">
        a=rtpmap:13 CN/8000
        <br class="">
        a=ptime:20
        <br class="">
        <br class="">
        <br class="">
        Any hints?<br class="">
        <br class="">
        <br class="">
        On 2016-02-10 18:16, Thomas Løcke wrote:<br class="">
      </div>
      <blockquote cite="mid:CAHJ5xPmcOOPdfphZ-NQS2eZstP5F+8PqTykj=e9wfu1qWmWcVw@mail.gmail.com" type="cite" class="">
        <div dir="ltr" class="">Hi Ken,
          <div class=""><br class="">
          </div>
          <div class="">It doesn't work from our dialplan either:</div>
          <div class=""><br class="">
          </div>
          <div class="">
            <div class="">&lt;extension name="foobar" continue="true"&gt;</div>
            <div class="">&nbsp; &nbsp; &nbsp; &lt;condition field="destination_number"
              expression="^external_transfer_(\d+)$"&gt;</div>
            <div class="">&nbsp; &nbsp; &nbsp; &nbsp; &lt;action application="set"
              data="ringback=${dk-ring}"/&gt;</div>
            <div class="">&nbsp; &nbsp; &nbsp; &nbsp; &lt;action application="ring_ready" /&gt;</div>
            <div class="">&nbsp; &nbsp; &nbsp; &nbsp; &lt;action application="bridge"
              data="[fifo_music=default]sofia/gateway/${default_trunk}/$1"/&gt;</div>
            <div class="">&nbsp; &nbsp; &nbsp; &nbsp; &lt;action application="hangup"/&gt;</div>
            <div class="">&nbsp; &nbsp; &nbsp; &lt;/condition&gt;</div>
            <div class="">&nbsp; &nbsp; &lt;/extension&gt;</div>
            <div class=""><br class="">
            </div>
            <div class="">That works swimmingly with 1.6.2, but fails
              with&nbsp;BEARERCAPABILITY_NOTAVAIL with 1.6.6.</div>
            <div class=""><br class="">
            </div>
            <div class="gmail_extra"><br class="">
              <div class="gmail_quote">2016-02-10 18:07 GMT+01:00 Ken
                Rice <span dir="ltr" class="">&lt;<a moz-do-not-send="true" href="mailto:krice@freeswitch.org" target="_blank" class="">krice@freeswitch.org</a>&gt;</span>:<br class="">
                <blockquote class="gmail_quote" style="margin:0px 0px
                  0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
                  <div dir="ltr" class="">I doubt that was ever an intended
                    feature... why not just send the A leg out and park
                    the bleg just reverse your notation there<br class="">
                  </div>
                  <div class="gmail_extra"><br class="">
                    <div class="gmail_quote">
                      <div class="">
                        <div class="h5">On Wed, Feb 10, 2016 at 10:48
                          AM, Thomas Løcke <span dir="ltr" class="">&lt;<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:thomas.granvej6@gmail.com"></a><a class="moz-txt-link-abbreviated" href="mailto:thomas.granvej6@gmail.com">thomas.granvej6@gmail.com</a>&gt;</span>
                          wrote:<br class="">
                        </div>
                      </div>
                      <blockquote class="gmail_quote" style="margin:0px
                        0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
                        <div class="">
                          <div class="h5">
                            <div dir="ltr" class="">Hi all,
                              <div class=""><br class="">
                              </div>
                              <div class="">Using 1.6.2 this works from fs_cli
                                and dialplan:</div>
                              <div class=""><br class="">
                              </div>
                              <div class=""><span style="color:rgb(38,50,56);font-size:13px;line-height:16px" class="">originate

                                  loopback/park/default
                                  &amp;bridge(sofia/gateway/server/xxxxxxxx)</span><br class="">
                              </div>
                              <div class=""><span style="color:rgb(38,50,56);font-size:13px;line-height:16px" class=""><br class="">
                                </span></div>
                              <div class=""><span style="color:rgb(38,50,56);font-size:13px;line-height:16px" class="">Using

                                  1.6.6 it fails with&nbsp;</span><font color="#263238" class=""><span style="line-height:16px" class="">BEARERCAPABILITY_NOTAVAIL.</span></font></div>
                            </div>
                          </div>
                        </div>
                      </blockquote>
                    </div>
                  </div>
                </blockquote>
              </div>
            </div>
          </div>
        </div>
        <br class="">
        <fieldset class="mimeAttachmentHeader"></fieldset>
        <br class="">
        <pre wrap="" class="">_________________________________________________________________________
Professional FreeSWITCH Consulting Services: 
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com/">http://www.freeswitchsolutions.com</a>

Official FreeSWITCH Sites
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.freeswitch.org/">http://www.freeswitch.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://confluence.freeswitch.org/">http://confluence.freeswitch.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.cluecon.com/">http://www.cluecon.com</a>

FreeSWITCH-users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a moz-do-not-send="true" 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 moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.freeswitch.org/">http://www.freeswitch.org</a></pre>
      </blockquote>
      <br class="">
    </blockquote>
    <br class="">
  </div>

_________________________________________________________________________<br class="">Professional FreeSWITCH Consulting Services: <br class=""><a href="mailto:consulting@freeswitch.org" class="">consulting@freeswitch.org</a><br class="">http://www.freeswitchsolutions.com<br class=""><br class="">Official FreeSWITCH Sites<br class="">http://www.freeswitch.org<br class="">http://confluence.freeswitch.org<br class="">http://www.cluecon.com<br class=""><br class="">FreeSWITCH-users mailing list<br class="">FreeSWITCH-users@lists.freeswitch.org<br class="">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br class="">UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br class="">http://www.freeswitch.org</div></blockquote></div><br class=""></div></div></body></html>