ios translation profile help

Answered Question
Oct 1st, 2008

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

I have this problem too.
0 votes
Correct Answer by basyadav about 8 years 2 months ago

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

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
MARTIN STREULE Tue, 10/07/2008 - 03:53

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

This way you can review what's happening.

Cheers,

Martin

Correct Answer
basyadav Tue, 10/07/2008 - 04:54

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

Actions

This Discussion