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

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

ios translation profile help

Hi all, just wondering if someone could review my translation the goal is to make outbound caller ID for local as a 10 digit number and LD as a 11 digit number... thoughts? main number being 8015555555 example

voice translation-rule 1

rule 1 /^9/ /8015555555

voice translation-rule 2

rule 2/^91/ /18015555555

voice translation-profile outboundIDlocal

translate called 1

voice translation-profile outboundIDLD

translate called 2

dial-peer voice 1 pots

destination-pattern 9[2-9]......

port 0/0/0:23

translation-profile outgoing outboundIDlocal

dial-peer voice 2 pots

destination-pattern 91[2-9].........

port 0/0/0:23

translation-profile outgoing outboundIDLD

1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

Re: ios translation profile help

Hi rywalker

I am not sure how many Digits you are using on IP Phones however if you have phone extensions like "5555" and "5556" and wants to change the Calling number only then the following should be the correct translation rules to achieve what you want:-

voice translation-rule 1

rule 1 /^555\(.\)/ /801555555\1/

voice translation-rule 2

rule 2 /^555\(.\)/ /1801555555\1/

For Single number "5555", following should work:-

voice translation-rule 1

rule 1 /^5555/ /8015555555/

voice translation-rule 2

rule 2 /^5555/ /18015555555/

voice translation-profile outboundIDlocal

translate calling 1

voice translation-profile outboundIDLD

translate calling 2

dial-peer voice 1 pots

destination-pattern 9[2-9]......

port 0/0/0:23

translation-profile outgoing outboundIDlocal

dial-peer voice 2 pots

destination-pattern 91[2-9].........

port 0/0/0:23

translation-profile outgoing outboundIDLD

-HTH

Regards

- Basant

3 REPLIES
New Member

Re: ios translation profile help

sorry I think its supposed to be

translate calling

Re: ios translation profile help

Try the IOS command "test voice translation-rule 2 "

This way you can review what's happening.

Cheers,

Martin

Cisco Employee

Re: ios translation profile help

Hi rywalker

I am not sure how many Digits you are using on IP Phones however if you have phone extensions like "5555" and "5556" and wants to change the Calling number only then the following should be the correct translation rules to achieve what you want:-

voice translation-rule 1

rule 1 /^555\(.\)/ /801555555\1/

voice translation-rule 2

rule 2 /^555\(.\)/ /1801555555\1/

For Single number "5555", following should work:-

voice translation-rule 1

rule 1 /^5555/ /8015555555/

voice translation-rule 2

rule 2 /^5555/ /18015555555/

voice translation-profile outboundIDlocal

translate calling 1

voice translation-profile outboundIDLD

translate calling 2

dial-peer voice 1 pots

destination-pattern 9[2-9]......

port 0/0/0:23

translation-profile outgoing outboundIDlocal

dial-peer voice 2 pots

destination-pattern 91[2-9].........

port 0/0/0:23

translation-profile outgoing outboundIDLD

-HTH

Regards

- Basant

273
Views
0
Helpful
3
Replies