cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
597
Views
0
Helpful
3
Replies

ios translation profile help

rywalker
Level 1
Level 1

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

basyadav
Cisco Employee
Cisco Employee

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

View solution in original post

3 Replies 3

rywalker
Level 1
Level 1

sorry I think its supposed to be

translate calling

MARTIN STREULE
Spotlight
Spotlight

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

This way you can review what's happening.

Cheers,

Martin

basyadav
Cisco Employee
Cisco Employee

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