Voice Translation Rule help

Unanswered Question
May 6th, 2009
User Badges:

Hi Guys,

I am trying to get some voice translation rules working for incoming calls for one of my clients. This is for incoming international calls, the telco is stripping the leading 00 therefore only presenting the 44 in the case of incoming calls from the UK. Currently i am using the following:

voice translation-rule 1

rule 1 /^.*/ /90\0/ type national national

rule 2 /^.*/ /900\0/ type international international

but these are presenting 90090044xxxxxxxxxx instead of 90044xxxxxxxxxx which is what i am trying to achieve.

I also tried the following from the cisco documentation:

rule 2 /^./ /900/ type international international

but that did not work either. I have rules which do in fact work but i would prefer to have one rule to match all international numbers and prefix them with 900.

Any ideas welcome, thanks.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
bigcappa1 Wed, 05/06/2009 - 03:08
User Badges:
  • Silver, 250 points or more


An example of what I use on some voice gateways in the UK

voice translation-rule 2

rule 1 /\(^......$\)/ /9\1/

rule 2 /\(^..........$\)/ /9\1/

rule 3 /\(^...........$\)/ /9\1/

rule 4 /\(^............$\)/ /9\1/

voice translation-profile 1

translate calling 2

voice-port 0/0/0:15

translation-profile incoming 1

Also have attached a useful PDf from Cisco.

Hope this helps


sebastiandm Wed, 05/06/2009 - 04:14
User Badges:


I would like to combine all those rules into 1 in other words have one rule to match all instances of incoming numbers and then prefix the 900 to them.

Any ideas ??

davieshuw Wed, 05/06/2009 - 04:32
User Badges:

I append a 0 to all incoming calls as the telco here in the UK chops it off.

I have configured up:

voice translation-rule 2

rule 1 // /90/

voice translation-profile ADDZERO

translate calling 2

I guess you could just use:

rule 1 // /900/


This Discussion