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

pots dial-peer translate incoming

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
Cisco Employee

Re: pots dial-peer translate incoming

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.

New Member

Re: pots dial-peer translate incoming

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

350
Views
10
Helpful
2
Replies
CreatePlease to create content