ā05-03-2016 01:41 AM - edited ā03-17-2019 06:48 AM
Hi Expert,
I want to drop unwanted last digit using with voice translation rule.
For example:I'm using following rule its covers my requipment but if i dial extra more digit 9552345 then it will add 355666 later it. but i don't want this.
voice translation-rule 10
rule 1 /^9552345/ /355666/
I dont want to this senerio
if i dial 9552345566 it should be translate only 355666 number.i want to remove extra last (566) 3 digit.
I look at the following guide it containing number slice and removing unwanted number section but i dont understand correctly.
http://www.cisco.com/c/en/us/support/docs/voice/call-routing-dial-plans/61083-voice-transla-rules.html
Can you please help me someone.
Solved! Go to Solution.
ā05-03-2016 03:08 AM
then this i gave shud work for you:
rule 1 /^9552345\(.*\)/ /3556/
if you dial 955234522, it will be translated to 3556
ā05-03-2016 02:29 AM
Hi,
You can try the below rule:
rule 1 /^95523455\(.*\)/ /3556\1/
HTH
Rajan
ā05-03-2016 02:42 AM
Hi Rajan,
It does not work.I want to do this senerio,
if i dial more digit for my senerio all last digit should be remove.
EX: 9552345 then translate 3556
if i dial 95523452567832 all bold digit should be remove and only 9552345 should be translate 3556
Thanks
ā05-03-2016 02:46 AM
Hi Kemal,
The below one changes 9552345 to just 3556 and the remaining all digits will be left out
rule 1 /^9552345\(.*\)/ /3556/
ā05-03-2016 02:51 AM
Hi Rajan,
I think you are understood opposite to me because this rule translate only if i dial extra one digit it will translate 3556 but i dont want to do this.
If i dial 9552345 then all digit will be right out.That means i want to remove all right digit. because i dont want to show user screen extra incorrect digit.
I check it but it does not work my senerio.
ā05-03-2016 02:59 AM
I am bit confused with your requirement. you want to keep "9552345" these digits and only translate the remaining to 3556. If yes, then use the below ruke. Else pls clarify what is exactly needed.
rule 1 /^9552345\(.*\)/ /95523453556/
ā05-03-2016 03:04 AM
That is incorrect why do you remove all left number ?
I want to remove only extra right site number.
i mean if i dial 9352345 it should be translate 3556 this number this rule works for me
Rule 1 /^9552345/ /3556/ but if i dial extra one or more digit on the right (ex:955234522) The number 22 should be remove
ā05-03-2016 03:08 AM
then this i gave shud work for you:
rule 1 /^9552345\(.*\)/ /3556/
if you dial 955234522, it will be translated to 3556
ā05-03-2016 02:33 AM
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: