To define how to expand a telephone extension number into a particular destination pattern, use the num-exp command in global configuration mode. To cancel the configured number expansion, use the no form of this command.
num-exp extension-number expanded-number
no num-exp extension-number
Please view the use of the command num-exp with ex:
Examples
The following example expands the extension number 55541 to the number 14085555541:
num-exp 55541 14085555541
The following example expands all five-digit extensions beginning with 5 such that the 5 is replaced with the digits 1408555 at the beginning of the extension number:
num-exp 5.... 1408555....