How do I find the expanded number in TCL IVR

Version 1
    This document was generated from CDN thread

    Created by: Keith Haugen on 08-06-2012 03:57:39 AM
    I have a num-exp command in my configuration, but [infotag get leg_dnis] returns the original called number, not the expanded number (i.e., after num-exp is applied).  What infotag (or other method) is available in TCL IVR to retrieve the expanded number?

    Subject: RE: How do I find the expanded number in TCL IVR
    Replied by: Raghavendra Gutty Veeranagappa on 08-06-2012 04:52:28 AM
    Hi Keith,

    i think num-exp command won't manipulate DNIS, you can try using translation-rule.

    thanks,
    Raghavendra

    Subject: RE: How do I find the expanded number in TCL IVR
    Replied by: Keith Haugen on 08-06-2012 05:23:47 AM
    I do know the num-exp has already happened, because the dial peer is triggered specifically off of the expanded phone number.  And for other reasons, I am forced to use num-exp as opposed to some other method such as translation-rule.