<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <font face="Helvetica, Arial, sans-serif">Hello<br>
      <br>
      I can confirm that the variable DIALEDPEERNAME contains the
      information that I would expect in the variable BRIDGEPEER.<br>
      <br>
      But I read nowhere that DIALEDPEERNAME has replaced BRIDGEPEER as
      of Asterisk version 13 ?!<br>
      <br>
      So if this is not the intention, then yes this is probably a bug
      and should be reported.<br>
      <br>
      <br>
      <br>
      <br>
      Kind regards.<br>
      <br>
      Jonas.<br>
    </font><br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 18-09-16 19:58, Ludovic Gasc wrote:<br>
    </div>
    <blockquote
cite="mid:CAON-fpE9n8D9V8UepKPAX1TDsKckt8rSADbKL5D-ER0sZ8Yy-w@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hi,
        <div><br>
        </div>
        <div>You might use DIALEDPEERNAME instead of BRIDGEPEER.</div>
        <div><br>
        </div>
        <div>Nevertheless, I've the same issue with another BRIDGE
          prefix variable:<br>
          <br>
          I never retrieve at one moment <span
style="color:rgb(51,51,51);font-family:arial,sans-serif;font-size:14px;line-height:20px;background-color:rgb(240,240,240)">BRIDGEPVTCALLID
            variable, even if it's documented in Asterisk wiki: </span><font
            color="#333333"><span
              style="font-size:14px;line-height:20px"><a
                moz-do-not-send="true"
href="https://wiki.asterisk.org/wiki/display/AST/Asterisk+Standard+Channel+Variables">https://wiki.asterisk.org/wiki/display/AST/Asterisk+Standard+Channel+Variables</a></span></font></div>
        <div><br>
        </div>
        <div>Nevertheless, the variable seems to be set in the Asterisk
          source code:</div>
        <div><a moz-do-not-send="true"
href="https://github.com/asterisk/asterisk/blob/13.10/main/bridge.c#L1222">https://github.com/asterisk/asterisk/blob/13.10/main/bridge.c#L1222</a><br>
        </div>
        <div>
          <div class="gmail_extra">I see no issues open about that, do I
            need to open an issue ?</div>
          <div class="gmail_extra"><br>
          </div>
          <div class="gmail_extra">Have a nice week.<br clear="all">
            <div>
              <div class="gmail_signature">
                <div dir="ltr">
                  <div>--<br>
                    <div style="font-size:small">
                      <div>Ludovic Gasc (GMLudo)</div>
                    </div>
                    <div style="font-size:small"><a
                        moz-do-not-send="true"
                        href="http://www.gmludo.eu/" target="_blank">http://www.gmludo.eu/</a></div>
                  </div>
                </div>
              </div>
            </div>
            <br>
            <div class="gmail_quote">2016-09-17 11:47 GMT+02:00 Jonas
              Kellens <span dir="ltr"><<a moz-do-not-send="true"
                  href="mailto:jonas.kellens@telenet.be" target="_blank">jonas.kellens@telenet.be</a>></span>:<br>
              <blockquote class="gmail_quote" style="margin:0px 0px 0px
                0.8ex;border-left:1px solid
                rgb(204,204,204);padding-left:1ex">
                <div bgcolor="#FFFFFF"> <font face="Helvetica, Arial,
                    sans-serif">Hello<br>
                    <br>
                    a call goes out and is answered :<br>
                    <br>
                    [Sep 17 11:29:52] VERBOSE[23420][C-00000051]
                    app_dial.c: SIP/myprovider-0000010b is making
                    progress passing it to SIP/mysippeer-00000108<br>
                    [Sep 17 11:30:05] VERBOSE[23420][C-00000051]
                    app_dial.c: SIP/myprovider-0000010b answered
                    SIP/mysippeer-00000108<br>
                    [Sep 17 11:30:05] VERBOSE[23522][C-00000051]
                    bridge_channel.c: Channel SIP/myprovider-0000010b
                    joined 'simple_bridge' basic-bridge
                    <ab233c52-249f-4370-bcdd-<wbr>3eb9af7c6cfd><br>
                    [Sep 17 11:30:05] VERBOSE[23420][C-00000051]
                    bridge_channel.c: Channel SIP/mysippeer-00000108
                    joined 'simple_bridge' basic-bridge
                    <ab233c52-249f-4370-bcdd-<wbr>3eb9af7c6cfd><br>
                    <br>
                    Call ends :<br>
                    [Sep 17 11:34:36] VERBOSE[23420][C-00000051]
                    bridge_channel.c: Channel SIP/mysippeer-00000108
                    left 'simple_bridge' basic-bridge
                    <ab233c52-249f-4370-bcdd-<wbr>3eb9af7c6cfd><br>
                    [Sep 17 11:34:36] VERBOSE[23522][C-00000051]
                    bridge_channel.c: Channel SIP/myprovider-0000010b
                    left 'simple_bridge' basic-bridge
                    <ab233c52-249f-4370-bcdd-<wbr>3eb9af7c6cfd><br>
                    <br>
                    <br>
                    <br>
                    When the call ends in Asterisk version 1.8.32.3 I
                    can read the variable in h-context.<br>
                    In Asterisk 13.11.2 this variable is always empty.
                    How come ??<br>
                    <br>
                    <br>
                    Dialplan logic :<br>
                    ...<br>
                    exten => h,n,NoOp(bridgepeer = ${BRIDGEPEER})<br>
                    ...<br>
                    <br>
                    <br>
                    CLI on Asterisk 13.11.2 :<br>
                     -- Executing [h@calling:15]
                    NoOp("SIP/mysippeer-00004c80", "bridgepeer =
                    SIP/myprovider-00004c83") in new stack<br>
                    <br>
                    <br>
                    CLI on Asterisk 13.11.2 :<br>
                    VERBOSE[23420][C-00000051] pbx.c: Executing
                    [h@calling:15] NoOp("SIP/mysippeer-00000108",
                    "bridgepeer = ") in new stack<br>
                    <br>
                    <br>
                    What has changed and how can I get the 13.11 version
                    of ${BRIDGEPEER} ??<br>
                    <br>
                    <br>
                    <br>
                    <br>
                    <br>
                    Thanks in advance !<br>
                    <br>
                    <br>
                    Kind regards.<span class="gmail-HOEnZb"><font
                        color="#888888"><br>
                        <br>
                        Jonas.<br>
                      </font></span></font> </div>
                <br>
                --<br>
                ______________________________<wbr>______________________________<wbr>_________<br>
                -- Bandwidth and Colocation Provided by <a
                  moz-do-not-send="true"
                  href="http://www.api-digital.com" rel="noreferrer"
                  target="_blank">http://www.api-digital.com</a> --<br>
                <br>
                Join the Asterisk Community at the 13th AstriCon,
                September 27-29, 2016<br>
                      <a moz-do-not-send="true"
                  href="http://www.asterisk.org/community/astricon-user-conference"
                  rel="noreferrer" target="_blank">http://www.asterisk.org/<wbr>community/astricon-user-<wbr>conference</a><br>
                <br>
                New to Asterisk? Start here:<br>
                      <a moz-do-not-send="true"
                  href="https://wiki.asterisk.org/wiki/display/AST/Getting+Started"
                  rel="noreferrer" target="_blank">https://wiki.asterisk.org/<wbr>wiki/display/AST/Getting+<wbr>Started</a><br>
                <br>
                asterisk-users mailing list<br>
                To UNSUBSCRIBE or update options visit:<br>
                   <a moz-do-not-send="true"
                  href="http://lists.digium.com/mailman/listinfo/asterisk-users"
                  rel="noreferrer" target="_blank">http://lists.digium.com/<wbr>mailman/listinfo/asterisk-<wbr>users</a><br>
              </blockquote>
            </div>
            <br>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
    </blockquote>
    <br>
  </body>
</html>