10-26-2010 02:39 AM - edited 03-16-2019 01:32 AM
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
10-26-2010 09:30 AM
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.
10-27-2010 02:53 AM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide