I am almost sure someone already answered this but could not find it…
I need to find out within a dial plan the number that was dialed.
For example, suppose a DID number 954 123-4567 is dialed and is channeled to the asterisk via the T1,
I need to capture this number that was dialed. I know it is coded within the T1 time slots, how can I get it within Asterisk dial-plan.