<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>I have a blacklisting system to deal with robocalls. Transferring
      a given call to extension *88 will add the CALLERID(num) to astdb,
      and when that number calls back, it goes straight to tt-monkeys.</p>
    <p>Problem:</p>
    <p>With Polycom phones, transfer -> blind -> *88 works just
      fine. But, transfer -> *88 (attended transfer) does not work. I
      assume that's because an attended transfer is creating a new
      channel, and the CALLERID(num) of the attended transfer is the CID
      of the station making the call. So, I decided to save the incoming
      CID into __ORIGINAL_CALLER_ID, with the assumption that the
      variable would be inherited into subsequent channels, but that
      does not work either.</p>
    <p>What am I missing?</p>
    <p>Asterisk: 13.14.1~dfsg-2+deb9u4 </p>
    <p>OS: Debian 9.13 (Stretch).<br>
    </p>
    <div class="moz-signature">-- <br>
      <!-- EMAIL SIGNATURE STARTS HERE -->
      <br>
      <table style="background: none; border-width: 0px; border: 0px;
        margin: 0; padding: 0;" cellspacing="0" cellpadding="0"
        border="0">
        <tbody>
          <tr>
            <td style="padding-top: 0; padding-bottom: 0; padding-left:
              0; padding-right: 7px; border-top: 0; border-bottom: 0:
              border-left: 0; border-right: solid 3px #000000"
              valign="middle"><img id="preview-image-url"
                src="cid:part1.73D69D1C.12520D17@hph.io"></td>
            <td style="padding-top: 0; padding-bottom: 0; padding-left:
              12px; padding-right: 0;">
              <table style="background: none; border-width: 0px; border:
                0px; margin: 0; padding: 0;" cellspacing="0"
                cellpadding="0" border="0">
                <tbody>
                  <tr>
                    <td colspan="2" style="padding-bottom: 5px; color:
                      #000000; font-size: 18px; font-family: Arial,
                      Helvetica, sans-serif;">Michael Munger, dCAP,
                      MCPS, MCNPS, MBSS</td>
                  </tr>
                  <tr>
                    <td colspan="2" style="color: #333333; font-size:
                      14px; font-family: Arial, Helvetica, sans-serif;"><strong>Microsoft
                        Certified Professional</strong></td>
                  </tr>
                  <tr>
                    <td colspan="2" style="color: #333333; font-size:
                      14px; font-family: Arial, Helvetica, sans-serif;"><strong>Microsoft
                        Certified Small Business Specialist</strong></td>
                  </tr>
                  <tr>
                    <td colspan="2" style="color: #333333; font-size:
                      14px; font-family: Arial, Helvetica, sans-serif;"><strong>Digium
                        Certified Asterisk Professional</strong></td>
                  </tr>
                  <tr>
                    <td colspan="2" style="color: #333333; font-size:
                      14px; font-family: Arial, Helvetica, sans-serif;"><strong>High
                        Powered Help, Inc.</strong></td>
                  </tr>
                  <tr>
                    <td style="vertical-align: top; width: 20px; color:
                      #000000; font-size: 14px; font-family: Arial,
                      Helvetica, sans-serif;" width="20" valign="top">p:</td>
                    <td style="vertical-align: top; color: #333333;
                      font-size: 14px; font-family: Arial, Helvetica,
                      sans-serif;" valign="top">678-905-8569</td>
                  </tr>
                  <tr>
                    <td style="vertical-align: top; width: 20px; color:
                      #000000; font-size: 14px; font-family: Arial,
                      Helvetica, sans-serif;" width="20" valign="top">w:</td>
                    <td style="vertical-align: top; color: #333333;
                      font-size: 14px; font-family: Arial, Helvetica,
                      sans-serif;" valign="top"><a href="https://hph.io"
                        style=" color: #1da1db; text-decoration: none;
                        font-weight: normal; font-size: 14px;">hph.io</a>  <span
                        style="color: #000000;">e: </span><a
                        href="mailto:mj@hph.io" style="color: #1da1db;
                        text-decoration: none; font-weight: normal;
                        font-size: 14px;">mj@hph.io</a></td>
                  </tr>
                </tbody>
              </table>
              <br>
              <br>
              <!-- EMAIL SIGNATURE ENDS HERE --></td>
          </tr>
        </tbody>
      </table>
    </div>
  </body>
</html>