Special Variables
${EXTEN} - always the most important variable. This is the number that is being currently evaluated.
${CALLERIDNUM} - the ANI (if available) of the call leg that is creating the call
Some others, less used: ${EPOCH}, ${ENV(var)}, ${CONTEXT}, ${PRIORITY}, several other descriptors of the call leg we’re processing