05-16-2007 08:29 AM - last edited on 03-25-2019 07:35 PM by ciscomoderator
I am having an issue with trying to get the following translation rule to work. Can anyone help? In the debugs it apears that it will only collect the #0 and then do a fast busy.
Here is my config:
translation-rule 10
Rule 1 #01 18005551212
dial-peer voice 20 pots
translate-outgoing called 10
port 0/0/0
05-16-2007 10:31 AM
Your destination pattern on the pots dial-peer needs to match 18005551212 or similar (using wild cards).
05-16-2007 10:51 AM
OK. I see what your saying. The issue is now that I used '9' as a PSTN breakout. Is there anyway to match on the '#' and the translate afterwards?
05-16-2007 10:34 AM
Try the following instead:
voice translation-rule 1
rule 1 /#01/ /18005551212/
voice translation-profile 1
translate called 1
dial-peer voice 20 pots
translation-profile outgoing 1
Router#test voice translation-rule 1 #01
Matched with rule 1
Original number: #01 Translated number: 18005551212
Original number type: none Translated number type: none
Original number plan: none Translated number plan: none
HTH,
Chris
05-16-2007 10:58 AM
Tried that. Doesn't work. It doesn't match on any dial-peers. Thanks though.
05-21-2007 04:11 AM
You should upload your config.
You were trying to use translation rules where as you need to be using voice translation-rules and voice translation-profiles as per the previous reply.
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