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. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Need help on voice translation rules

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..

2 ACCEPTED SOLUTIONS

Accepted Solutions
New Member

Need help on voice translation rules

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.

Kind regards, Andrew C.

Re: Need help on voice translation rules

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


3 REPLIES
New Member

Need help on voice translation rules

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.

Kind regards, Andrew C.

Re: Need help on voice translation rules

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


New Member

Need help on voice translation rules

Thanks Guuyis its work with num-exp command..

146
Views
0
Helpful
3
Replies