cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 
cancel
522
Views
0
Helpful
8
Replies

Remove unwanted last digit with voice translation rule.

KY_
Level 4
Level 4

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.

1 Accepted Solution

Accepted Solutions

then this i gave shud work for you:

rule 1 /^9552345\(.*\)/ /3556/

if you dial 955234522, it will be translated to 3556

View solution in original post

8 Replies 8

Rajan
VIP Alumni
VIP Alumni

Hi,

You can try the below rule:

rule 1 /^95523455\(.*\)/ /3556\1/

HTH

Rajan

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

Hi Kemal,

The below one changes 9552345 to just 3556 and the remaining all digits will be left out

rule 1 /^9552345\(.*\)/ /3556/

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.

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/

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

then this i gave shud work for you:

rule 1 /^9552345\(.*\)/ /3556/

if you dial 955234522, it will be translated to 3556

Suresh Hudda
VIP Alumni
VIP Alumni
use this one.. rule 1 /^9552345.*/ /355666/ Suresh
Getting Started

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: