<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">
      <meta http-equiv="content-type" content="text/html;
        charset=windows-1252">
      We've had a sort-a breakthrough:<br>
      <br>
      If we override the codec string<br>
      originate loopback/5900/default
      &amp;bridge({absolute_codec_string='PCMA,PCMU'}sofia/gateway/gw/number)<br>
      <br>
      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>
      <br>
      SDP then becomes:<br>
      <br>
      v=0<br>
      o=FreeSWITCH 1464414375 1464414376 IN IP4 192.168.1.4<br>
      s=FreeSWITCH<br>
      c=IN IP4 192.168.1.4<br>
      t=0 0<br>
      m=audio 24744 RTP/AVP 8 101<br>
      a=rtpmap:8 PCMA/8000<br>
      a=rtpmap:101 telephone-event/8000<br>
      a=fmtp:101 0-16<br>
      a=ptime:20<br>
      <br>
      And everything is fine. Sound comes through, and connection is
      stable.<br>
      <br>
      This raises two questions:<br>
      <br>
      1. We would really like the default behaviour to use PCMA/8000 for
      outbound bridged channels.<br>
      How do we go about this?<br>
      <br>
      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>
      <br>
      Best<br>
      Kim<br>
      <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);"><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);"><br>
      <br>
      On 2016-05-27 16:32, Kim Rostgaard Christensen wrote:<br>
    </div>
    <blockquote cite="mid:57485A7D.1000302@retrospekt.dk" type="cite">
      <meta content="text/html; charset=windows-1252"
        http-equiv="Content-Type">
      <div class="moz-cite-prefix">We finally got around to getting a
        SIP trace.<br>
        <br>
        The only difference we can find is in the SDP<br>
        <br>
        1.6.2:<br>
        <br>
        v=0
        <br>
        o=FreeSWITCH 1464328347 1464328348 IN IP4 192.168.1.3
        <br>
        s=FreeSWITCH
        <br>
        c=IN IP4 192.168.1.3
        <br>
        t=0 0
        <br>
        m=audio 28898 RTP/AVP 102 103 9 0 8 3 101 13 104 105
        <br>
        a=rtpmap:102 L16/8000
        <br>
        a=rtpmap:103 opus/48000/2
        <br>
        a=fmtp:103 useinbandfec=1; usedtx=1; maxaveragebitrate=30000;
        maxplaybackrate=48000; ptime=20; minptime=20; maxptime=20;
        samplerate=48000; sprop-stereo=1
        <br>
        a=rtpmap:9 G722/8000
        <br>
        a=rtpmap:0 PCMU/8000
        <br>
        a=rtpmap:8 PCMA/8000
        <br>
        a=rtpmap:3 GSM/8000
        <br>
        a=rtpmap:101 telephone-event/8000
        <br>
        a=fmtp:101 0-16
        <br>
        a=rtpmap:13 CN/8000
        <br>
        a=rtpmap:104 telephone-event/48000
        <br>
        a=fmtp:104 0-16
        <br>
        a=rtpmap:105 CN/48000
        <br>
        a=ptime:20
        <br>
        <br>
        1.6.8:<br>
        <br>
        v=0
        <br>
        o=FreeSWITCH 1464330840 1464330841 IN IP4 192.168.1.4
        <br>
        s=FreeSWITCH
        <br>
        c=IN IP4 192.168.1.4
        <br>
        t=0 0
        <br>
        m=audio 28118 RTP/AVP 102 101 13
        <br>
        a=rtpmap:102 L16/8000
        <br>
        a=rtpmap:101 telephone-event/8000
        <br>
        a=fmtp:101 0-16
        <br>
        a=rtpmap:13 CN/8000
        <br>
        a=ptime:20
        <br>
        <br>
        <br>
        Any hints?<br>
        <br>
        <br>
        On 2016-02-10 18:16, Thomas Løcke wrote:<br>
      </div>
      <blockquote
cite="mid:CAHJ5xPmcOOPdfphZ-NQS2eZstP5F+8PqTykj=e9wfu1qWmWcVw@mail.gmail.com"
        type="cite">
        <div dir="ltr">Hi Ken,
          <div><br>
          </div>
          <div>It doesn't work from our dialplan either:</div>
          <div><br>
          </div>
          <div>
            <div>&lt;extension name="foobar" continue="true"&gt;</div>
            <div>      &lt;condition field="destination_number"
              expression="^external_transfer_(\d+)$"&gt;</div>
            <div>        &lt;action application="set"
              data="ringback=${dk-ring}"/&gt;</div>
            <div>        &lt;action application="ring_ready" /&gt;</div>
            <div>        &lt;action application="bridge"
              data="[fifo_music=default]sofia/gateway/${default_trunk}/$1"/&gt;</div>
            <div>        &lt;action application="hangup"/&gt;</div>
            <div>      &lt;/condition&gt;</div>
            <div>    &lt;/extension&gt;</div>
            <div><br>
            </div>
            <div>That works swimmingly with 1.6.2, but fails
              with BEARERCAPABILITY_NOTAVAIL with 1.6.6.</div>
            <div><br>
            </div>
            <div class="gmail_extra"><br>
              <div class="gmail_quote">2016-02-10 18:07 GMT+01:00 Ken
                Rice <span dir="ltr">&lt;<a moz-do-not-send="true"
                    href="mailto:krice@freeswitch.org" target="_blank">krice@freeswitch.org</a>&gt;</span>:<br>
                <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">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>
                  </div>
                  <div class="gmail_extra"><br>
                    <div class="gmail_quote">
                      <div>
                        <div class="h5">On Wed, Feb 10, 2016 at 10:48
                          AM, Thomas Løcke <span dir="ltr">&lt;<a
                              moz-do-not-send="true"
                              class="moz-txt-link-abbreviated"
                              href="mailto:thomas.granvej6@gmail.com"><a class="moz-txt-link-abbreviated" href="mailto:thomas.granvej6@gmail.com">thomas.granvej6@gmail.com</a></a>&gt;</span>
                          wrote:<br>
                        </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>
                          <div class="h5">
                            <div dir="ltr">Hi all,
                              <div><br>
                              </div>
                              <div>Using 1.6.2 this works from fs_cli
                                and dialplan:</div>
                              <div><br>
                              </div>
                              <div><span
                                  style="color:rgb(38,50,56);font-size:13px;line-height:16px">originate

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

                                  1.6.6 it fails with </span><font
                                  color="#263238"><span
                                    style="line-height:16px">BEARERCAPABILITY_NOTAVAIL.</span></font></div>
                            </div>
                          </div>
                        </div>
                      </blockquote>
                    </div>
                  </div>
                </blockquote>
              </div>
            </div>
          </div>
        </div>
        <br>
        <fieldset class="mimeAttachmentHeader"></fieldset>
        <br>
        <pre wrap="">_________________________________________________________________________
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>
    </blockquote>
    <br>
  </body>
</html>