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

Basic Voice Translation Rule Question

I have a voice translation rule that reads:

voice-translation-rule 2

rule 1 /.*/ /5415489400/

This basically is applied to all outbound calls so that all callers see our main number and it works great.  However, I have one internal extension that I need to appear to the outside world as a different number.  Could I do something such as:

voice-translation-rule 2

rule 1 /215/ /5415489405/

rule 2 /.*/ /5415489400/

I am not sure if this is the best way to do it or if it will work but it made sense to me so I wanted to see if anyone had any thoughts because as I see it, the first rule will be applied for that single extension otherwise all others will get rule 2, correct?

1 Accepted Solution

Accepted Solutions

Hi.

For rule 2 you are correct but for rule 1 Voice Gateway will translate all numbers which contains 215 with 5415489405.

Eg if a calling number is 0621545667 vg will translate into 06541548940545667.

In rule 1 you should add ^ character at the biginning  to make sure that only number starting with (^) 215 is translated.

Also add .* at the end so that if further digits arrives after 215 they will be discarded.

eg

 

Without .*

 

calling number 21512345 is translated into 54154894052345

 

With .*

 

Calling number 21512345 is translated into 5415489405 and further digits are discarded.

 

so:

rule 1 /^215.*/ /5415489405/

 

This will ensure that only extension 215 is translated into 5415489405

Just a quick reference

 

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

HTH

 

Regards

 

Carlo

Please rate all helpful posts "The more you help the more you learn"

View solution in original post

2 Replies 2

Hi.

For rule 2 you are correct but for rule 1 Voice Gateway will translate all numbers which contains 215 with 5415489405.

Eg if a calling number is 0621545667 vg will translate into 06541548940545667.

In rule 1 you should add ^ character at the biginning  to make sure that only number starting with (^) 215 is translated.

Also add .* at the end so that if further digits arrives after 215 they will be discarded.

eg

 

Without .*

 

calling number 21512345 is translated into 54154894052345

 

With .*

 

Calling number 21512345 is translated into 5415489405 and further digits are discarded.

 

so:

rule 1 /^215.*/ /5415489405/

 

This will ensure that only extension 215 is translated into 5415489405

Just a quick reference

 

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

HTH

 

Regards

 

Carlo

Please rate all helpful posts "The more you help the more you learn"

Thank you Carlo.  That worked perfect.