Minor edit
voice translation Rule 7
rule 1 / 20 / / 5477420 /
rule 2 / ^2.$/ / 547740 / type any subscriber
Changed rule 2 to be only for internal extensions - assume your internal extensions are two digits - you can change that as you wish. You can also test the translation rule by doing:
test voice translation-rule 7 20
to see the result