I would appreciate some help in suitable method of translating a published number for a group XXXXXXX9640 and would like this translated to a ephone-hunt group pilot number (i.e. 5002), can anyone suggest the best method?
Use either translation rule or num-exp. You did not specify how many digits you are getting from telco. For the following example lets assume it's 4.
voice translatio-rule 1
rule 1 /^9640/ /5002/
voice translation-profile 1
tranlsate called 1
dial-peer voice 1 pots
incoming called number 9640
translation-profile incoming 1
you can also apply the translation profile to voice-port.
num-exp is slighly easier all you would need to do is:
num-exp 9640 5002
HTH, please rate helpful posts!