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

Add Prefixes with Translation Rule

Hi,can somebody help me with translation-rule.

I need add prefixes to individual called numbers.

My scheme:CCM4(77xxx dial plan)<->7204VXR<->Meridian(72xxx,73xxx dial plan)

Example:

Number from ccm 77001 calls to some numbers 72001 73001,call go thrue 7204VXR were to the called numbers add prefixe "6",like 672001 673001.

If I use something like this, it works,but for all who go thrue dial-peer 10.

-------------------------------------

voice translation-rule 1

rule 1 /^/ /6/

voice translation-profile profile1

translate calling 1

dial-peer voice 10 pots

translation-profile outgoing profile1

--------------------------------------

And I need to add prefixes only to individual numbers.

Thanks

3 REPLIES
Super Bronze

Re: Add Prefixes with Translation Rule

Hi

You can be more specific on the numbers matched:

rule 1 /^\(7....$\)/ /6\1/

Would prefix a 6 to any 5-digit number starting with a 7.

Regards

Aaron

Please rate helpful posts...

Aaron Please remember to rate helpful posts to identify useful responses, and mark 'Answered' if appropriate!

Re: Add Prefixes with Translation Rule

If you only want to translate calls to 72001 and 73001, you could use a configuration like:

voice translation-rule 1

rule 1 /^72001$/ /672001/

rule 2 /^73001$/ /673001/

voice translation-profile profile1

translate called 1

dial-peer voice 10 pots

translation-profile outgoing profile1

Hope this helps. If so, please rate the post.

Brandon

New Member

Re: Add Prefixes with Translation Rule

--------------------------------------------

voice translation-rule 2

rule 1 /^\(77555$\)/ /6\1/

!

voice translation-profile 2

translate called 2

!

dial-peer voice 77 voip

tone ringback alert-no-PI

destination-pattern 77...

progress_ind setup enable 1

voice-class codec 1

session target ipv4:10.10.0.50

no vad

!

dial-peer voice 72 pots

tanslation-profile incoming 2

translation-profile outgoing 2

preference 1

destination-pattern 72...

progress_ind setup enable 3

progress_ind alert enable 8

direct-inward-dial

port 1/1:15

prefix 72

--------------------------------------------

Here is my config,but it dont do what I need.

If I understand correct "translation-rule 2"

adds prefix 6 to number 77555 when someone called on 77555 (if 72001 call to 77555 it calls to 677555)

I try to explain what I need again.Here my Scheme.

CCM4(77...)<-->7204(dial-peer 72... ,73...)<-->Meridian(72... , 73...)

If I call "ONLY" from number 77555 to 72001,73002,73002... I need add prefixes to numbers where I calls from 77555(672001,673002,673002...)

1452
Views
8
Helpful
3
Replies
CreatePlease login to create content