10-16-2013 07:46 AM - edited 03-16-2019 07:55 PM
Hi all,
I have small CME setup and i want to translate the 111 to 09821444335. If some one dial 111 its convert to 09821444335.
so following rule i configured in router but its not working. pls help
voice translation-rule 1
rule 1 /1111/ /09821444335/
!
!
voice translation-profile profile1
translate calling 1
dial-peer voice 2 pots
description OUTGOING-CALLS
translation-profile outgoing profile1
destination-pattern 0T
port 0/0/0:15
Thanx in advance..
Solved! Go to Solution.
10-16-2013 07:56 AM
Hi Rupesh,
You should change 'translate calling' to 'translate called' in your voice translation-profile in order to change B-number. Also you have to change destination-pattern string to ^111$ since translation-profile applies after the call matches the dial-peer. You can use num-exp command in global configuration instead of using voice translation-profiles but I'd recommend to use tp's since they are much more flexible than num-exp command.
Also I have noticed that you are using four 1s in your translation-rule while referring to three 1s in your description, please check it.
Kind regards,
Andrew C.
10-16-2013 08:32 AM
Hi
In addition to the perfect explanasion of Mr/Andrew. Please find the below to configure the num-exp and ignore translation rule.
num-exp 111 09821444335
dial-peer voice 10 pots
destination-pattern 111
port 0/0/0:15
Num-exp happens BEFORE dial-peer matching, they would have a higher precedence than any translation profiles applied to your dial-peers .
Cisco gateway will take the digits a user dialed and apply any matching number-expansions before looking to match outbound dial-peers so the number-expansion takes priority
Thank you
please rate all useful information
10-16-2013 07:56 AM
Hi Rupesh,
You should change 'translate calling' to 'translate called' in your voice translation-profile in order to change B-number. Also you have to change destination-pattern string to ^111$ since translation-profile applies after the call matches the dial-peer. You can use num-exp command in global configuration instead of using voice translation-profiles but I'd recommend to use tp's since they are much more flexible than num-exp command.
Also I have noticed that you are using four 1s in your translation-rule while referring to three 1s in your description, please check it.
Kind regards,
Andrew C.
10-16-2013 08:32 AM
Hi
In addition to the perfect explanasion of Mr/Andrew. Please find the below to configure the num-exp and ignore translation rule.
num-exp 111 09821444335
dial-peer voice 10 pots
destination-pattern 111
port 0/0/0:15
Num-exp happens BEFORE dial-peer matching, they would have a higher precedence than any translation profiles applied to your dial-peers .
Cisco gateway will take the digits a user dialed and apply any matching number-expansions before looking to match outbound dial-peers so the number-expansion takes priority
Thank you
please rate all useful information
10-16-2013 10:52 PM
Thanks Guuyis its work with num-exp command..
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