cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
589
Views
10
Helpful
2
Replies

pots dial-peer translate incoming

philip moore
Level 1
Level 1

Dear All

I have a problem with a voip configuration I hope you can help with.

I am trying to translate any call sent from PABX to the router on E1 0/2/1 to add the prefix 91771 or 917700. Outbound (i.e. router to PABX) the string should be sent unmodified.

The translation is not working. Am I missing something?

voice translation-profile ADD9177

translate called 2


translation-rule 2

Rule 0 ^00.% 917700

Rule 1 ^1.% 91771


dial-peer voice 1774 pots

description UNAMA Kuwait back office

translation-profile incoming ADD9177

destination-pattern 1774[1-2]..

progress_ind setup enable 3

progress_ind connect enable 8

direct-inward-dial

port 0/2/1:15

forward-digits all

2 Replies 2

Steven Holl
Cisco Employee
Cisco Employee

You need to use a 'voice translation-rule', not a 'translation rule.'  I'm also tweaking your match rule.

voice translation-profile ADD9177

  translate called 2


voice translation-rule 2

Rule 1 /^00/ /917700/

Rule 2 /^1/ /91771/

That should do it.

thanks Steven. I figured it out yesterday actually. In the debug for debug voice translation it reported unmatched rule then when I applied to voice-port using the wrong syntax it reported an error, so I applied as you quoted.

thanks for the reply tho, appreciated