Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Member

Translation pattern to convert number to pilot number

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?

1 ACCEPTED SOLUTION

Accepted Solutions
Hall of Fame Super Silver

Re: Translation pattern to convert number to pilot number

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.

http://www.cisco.com/en/US/tech/tk652/tk90/technologies_tech_note09186a0080325e8e.shtml

num-exp is slighly easier all you would need to do is:

num-exp 9640 5002

HTH, please rate helpful posts!

Chris

3 REPLIES
Hall of Fame Super Gold

Re: Translation pattern to convert number to pilot number

Hi,

you don't even need to translate, but if you have DID, likely you are translating already.

Eg:

ephone-hunt 1 sequential

pilot 5002 secondary xxxxxx9640

If were translating already on incoming, leaving the DID portion only, that would be:

pilot 5002 secondary 9640.

Hope this helps, please rate post if it does

Hall of Fame Super Silver

Re: Translation pattern to convert number to pilot number

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.

http://www.cisco.com/en/US/tech/tk652/tk90/technologies_tech_note09186a0080325e8e.shtml

num-exp is slighly easier all you would need to do is:

num-exp 9640 5002

HTH, please rate helpful posts!

Chris

Silver

Re: Translation pattern to convert number to pilot number

Thanks Chris. This link helped.

I had seen it before and thought to myself, when would I ever need the 'number slice' feature....well, I just found one!

Thanks again.

154
Views
15
Helpful
3
Replies
CreatePlease to create content