10-01-2008 01:23 PM - edited 03-15-2019 01:40 PM
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
Solved! Go to Solution.
10-07-2008 04:54 AM
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
10-01-2008 01:37 PM
sorry I think its supposed to be
translate calling
10-07-2008 03:53 AM
Try the IOS command "test voice translation-rule 2
This way you can review what's happening.
Cheers,
Martin
10-07-2008 04:54 AM
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
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: