Not the greatest solution, but since you are most likely using a script for the 
AMI process, you could do an

Asterisk --rx "core show channels verbose"|grep SIP/testmachine-0000000d

And get the dialed number from that.

Actually you could issue the AMI command core show channels verbose.
there is no core show channels verbose on Asterisk 11. There is on asterisk 1.4,

core show channels on asterisk 11 has been changed.

jerry
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to