<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <blockquote type="cite">
      <meta http-equiv="content-type" content="text/html;
        charset=ISO-8859-1">
      <pre style="color: rgb(0, 0, 0); font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;">Not the greatest solution, but since you are most likely using a script for the AMI process, you could do an 

Asterisk &#8211;rx &#8220;core show channels verbose&#8221;|grep SIP/testmachine-0000000d 

And get the dialed number from that.

Actually you could issue the AMI command core show channels verbose.</pre>
    </blockquote>
    there is no core show channels verbose on Asterisk 11. There is on
    asterisk 1.4,<br>
    <br>
    core show channels on asterisk 11 has been changed.<br>
    <br>
    jerry<br>
  </body>
</html>