cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
319
Views
0
Helpful
2
Replies

Calling and called number types should be national and international respectively. Calling number as 20456XXXX and called ng number as 20456XXXX and called as 44xxxxxxxxxx. How do I write the translation rule? the inernal extensions are 4xxx

Birkhorfcp
Level 1
Level 1

Calling and called number types should be national and international respectively.


Calling  number as  20456XXXX and  called as 44xxxxxxxxxx.

 

How do I write the translation rule? the inernal extensions are 4xxx

 

2 Replies 2

kgareis
Cisco Employee
Cisco Employee

Hello,

The following document should be very helpful:

http://www.cisco.com/c/en/us/support/docs/voice/call-routing-dial-plans/61083-voice-transla-rules.html

Also notice the example below:

!
voice translation-profile Example1
 translate calling 5
 translate called 408
!
voice translation-rule 5
 rule 1 /20456xxxx/ /^4xxx$/
!
voice translation-rule 408
 rule 1 /^4xxx$/ /44xxxxxxxxxx/
!

Nitin Kharbanda
Level 1
Level 1

try this :

voice translation-profile test
 translate calling 1
 translate called 11

voice translation-rule 1
 rule 1 /20456xxxx/ /^4xxx$/

voice translation-rule 11
 rule 1 /^4xxx$/ /44xxxxxxxxxx/