Hesham,

If you are match with a POTS dial-peer, you can use the command "prefix".

dial-peer voice 1 pots
destination-pattern 9011T
prefix 011
 


Regis Reis 
 


________________________________
 De: Hesham Abdelkereem <heshamcentr...@gmail.com>
Para: Regis Reis <regis_r...@yahoo.com.br> 
Cc: "ccie_voice@onlinestudylist.com" <ccie_voice@onlinestudylist.com> 
Enviadas: Sexta-feira, 28 de Junho de 2013 15:20
Assunto: Re: [OSL | CCIE_Voice] Translation-rule help
 


Regist what about if i need it for 9011T

I would like to strip 9 from 011T how can i do it?



On 28 June 2013 10:02, Regis Reis <regis_r...@yahoo.com.br> wrote:

Hi Hesham,
>
>
>You make this form: 
>
>
>voice translation-rule 1 
>rule 1 /^91\(..........$\)/ /\1/
>rule 2 /^9\(..........$\)/ /\1/
>rule 3 /^9\(.......$\)/ /\1/
> 
>Test it. I put the "$" after last digit, because I understand that you want 
>match with the total digits diled.
>
>
>
>
>Regis Reis 
> 
>
>
>
>________________________________
> De: Hesham Abdelkereem <heshamcentr...@gmail.com>
>Para: "ccie_voice@onlinestudylist.com" <ccie_voice@onlinestudylist.com> 
>Enviadas: Sexta-feira, 28 de Junho de 2013 13:29
>Assunto: [OSL | CCIE_Voice] Translation-rule help
> 
>
>
>Dear All,
>
>
>I would like to make a translation-rule to do the following
>remove 9 from 91[10 digits]
>remove 9 from  9[10 digits]
>remove 9 from 9[7 digits]
>
>
>i did it the following but was invalid
>
>
>voice translation-rule 1 
>rule 1 /^91........../ /........../
>rule 2 /^9........../ /........../
>rule 3 /^9......./ /......./
>
>
>when i did it like that it didn't work
>I would like to make it strict match not like /^9/ // this will overlap
>
>
>Please help me whats the other way to do it.
>
>
>
>
>Thanks,
>Hesham
>_______________________________________________
>For more information regarding industry leading CCIE Lab training, please 
>visit www.ipexpert.com
>
>Are you a CCNP or CCIE and looking for a job? Check out 
>www.PlatinumPlacement.com
>
>
_______________________________________________
For more information regarding industry leading CCIE Lab training, please visit 
www.ipexpert.com

Are you a CCNP or CCIE and looking for a job? Check out 
www.PlatinumPlacement.com

Reply via email to