10-03-2014 09:16 PM - edited 03-17-2019 12:25 AM
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?
Solved! Go to Solution.
10-04-2014 02:53 AM
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
10-04-2014 02:53 AM
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
10-04-2014 06:35 AM
Thank you Carlo. That worked perfect.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide