cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
6408
Views
15
Helpful
5
Replies

Voice translation-rule, 15 limit again

k_clausen
Level 1
Level 1

Hi again – Here a new thread for the discussion regarding the voice translation-rule limitation of 15 entry.

I’m aware, that a router is not attended to do the work of a UC manager, but I have the need to translate 20 numbers on the incoming call on the router – like (simple)

voice translation-rule test-more-than-15
rule 1 /^72301090$/ /5710/
rule 2 /^72301091$/ /5720/
rule 3 /^72301092$/ /5730/
rule 4 /^72301093$/ /5731/
rule 5 /^72301094$/ /5760/
rule 6 /^72301095$/ /5763/
rule 7 /^72301096$/ /5780/
rule 8 /^72301097$/ /3115/
rule 9 /^72301098$/ /3116/
rule 10 /^72301099$/ /3290/
rule 11 /^72301290$/ /2272/
rule 12 /^72301291$/ /4550/
rule 13 /^72301292$/ /4560/
rule 14 /^72301293$/ /4490/
rule 15 /^72301294$/ /1045/
rule 16 /^72301295$/ /5740/
rule 17 /^72301296$/ /2455/
rule 18 /^72301297$/ /4140/
rule 19 /^72301298$/ /4160/
rule 20 /^72301299$/ /4390/

Is it possible to split it into e.g. to different dial-peer to overcome the limitation – like:

(some commands left out)

!

voice translation-rule 2
rule 1 /^72301090$/ /5710/
rule 2 /^72301091$/ /5720/
rule 3 /^72301092$/ /5730/
rule 4 /^72301093$/ /5731/
rule 5 /^72301094$/ /5760/
rule 6 /^72301095$/ /5763/
rule 7 /^72301096$/ /5780/
rule 8 /^72301097$/ /3115/
rule 9 /^72301098$/ /3116/
rule 10 /^72301099$/ /3290/
!
voice translation-rule 3
rule 1 /^72301290$/ /2272/
rule 2 /^72301291$/ /4550/
rule 3 /^72301292$/ /4560/
rule 4 /^72301293$/ /4490/
rule 5 /^72301294$/ /1045/
rule 6 /^72301295$/ /5740/
rule 7 /^72301296$/ /2455/
rule 8 /^72301297$/ /4140/
rule 9 /^72301298$/ /4160/
rule 10 /^72301299$/ /4390/
!
!
voice translation-profile 2
translate called 2
!
voice translation-profile test-serie-2
translate called 3
!
!
dial-peer voice 2 voip
translation-profile outgoing 2
destination-pattern .
session protocol sipv2
session target ipv4:172.31.2.34
incoming called-number .
dtmf-relay rtp-nte
codec g711alaw
no vad
!
dial-peer voice 3 voip
translation-profile outgoing test-serie-2
destination-pattern .
session protocol sipv2
session target ipv4:172.31.2.34
incoming called-number .
dtmf-relay rtp-nte
codec g711alaw
no vad

5 Replies 5

Adrian Saavedra
Level 7
Level 7

Hi,

You can use num-exp command. You can build a table. You can use more than 15 sentences.

Hope it helps, if it does please rate.

- Adrian.

fengouyang
Level 1
Level 1

Hi clausen,

Try this and see if it works. Hope it helps.

voice translation-rule 2
rule 1 /^72301090$/ /5710/
rule 2 /^72301091$/ /5720/
rule 3 /^72301092$/ /5730/
rule 4 /^72301093$/ /5731/
rule 5 /^72301094$/ /5760/
rule 6 /^72301095$/ /5763/
rule 7 /^72301096$/ /5780/
rule 8 /^72301097$/ /3115/
rule 9 /^72301098$/ /3116/
rule 10 /^72301099$/ /3290/
!
voice translation-rule 3
rule 1 /^72301290$/ /2272/
rule 2 /^72301291$/ /4550/
rule 3 /^72301292$/ /4560/
rule 4 /^72301293$/ /4490/
rule 5 /^72301294$/ /1045/
rule 6 /^72301295$/ /5740/
rule 7 /^72301296$/ /2455/
rule 8 /^72301297$/ /4140/
rule 9 /^72301298$/ /4160/
rule 10 /^72301299$/ /4390/
!
!
voice translation-profile 2
translate called 2
!
voice translation-profile test-serie-2
translate called 3
!
!
dial-peer voice 2 voip
translation-profile outgoing 2
destination-pattern 7230109.

session protocol sipv2
session target ipv4:172.31.2.34
incoming called-number .
dtmf-relay rtp-nte
codec g711alaw
no vad
!
dial-peer voice 3 voip
translation-profile outgoing test-serie-2
destination-pattern 7230129.

session protocol sipv2
session target ipv4:172.31.2.34
incoming called-number .
dtmf-relay rtp-nte
codec g711alaw
no vad

Steven Holl
Cisco Employee
Cisco Employee

This has been expaneded with 15.1(4)M.  You now have 100 rules.  Upgrade and have at it!

Router(config)#voice translation-rule 1
Router(cfg-translation-rule)#rule ?
  <1-100>  Translation rule tag

Hi, Steven,

i have 100 limit in translation rule, but i have 110 numbers, which is needed to be translated. How i can aproach this task? 

Try and see if you can create some rules in such a way that can cater to multiple digit manipulations and if that is not possible, simply go ahead with creating more translation-rule and then create the additional remaining sub rules under it.

Regards

Deepak