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

Translation Rule Not working

Hi All,

I have desgined an translation rule for in bound call its working fine

voice translation-rule 1

rule 1 /^.*\(....\)/ /5489\1/

But I also want when some call some specific numbers in the same DID range whose last 4digts are like 4300 it should replaced with 54894241 insted of 54894300. I tried some transaltion rule that doen't work.

3 REPLIES

Translation Rule Not working

voice translation-rule 1

rule 1 /^54894300/ /54894241/

remember you can test this rule as follows:

test voice translation-rule 1 54894300

Please remember to rate useful posts, by clicking on the stars below.

New Member

Translation Rule Not working

Hi Mink

Thanks for yor reply.Its not working.

My senario is like this I have an DID for incoming 4750XXXX when some call came in it translate last 4 digit and land to the internal extension 5489XXXX and it's working working fine with the dial peeer mentioned in the mail. But I want one specific number in DID  to land on another internal number i.e when call came on 47504300 it should translate to 54894321 insted of 54894300 and rest all the numbers of DID range keep on translating in the same way.

Blue

Re: Translation Rule Not working

Hi,

You can use

voice translation-rule 1

rule 1 /^47504300/ /54894321/

rule 2 /^4750\[^4]\[^3]\[^0]\[^0]/ /5489\1\2\3\4/

Regards

Ronak Patel

Please rate helpful posts by clicking stars below the answer.

Regards Ronak Patel Rate all helpful post by clicking stars below the answer.
317
Views
0
Helpful
3
Replies