cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
368
Views
15
Helpful
3
Replies

Translation pattern to convert number to pilot number

robertbrown877
Level 1
Level 1

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

Chris Deren
Hall of Fame
Hall of Fame

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

View solution in original post

3 Replies 3

paolo bevilacqua
Hall of Fame
Hall of Fame

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

Chris Deren
Hall of Fame
Hall of Fame

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

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.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: