Re: [OSL | CCIE_Voice] translation-rule

2013-10-04 Thread Martin Sloan
Hi Anthony, I'm not sure how to deep to go on the explanation but basically you have 2 capture groups in the 'match' string which are denoted by the parentheses, which have to be escaped by the backslash. These translations are based on the Unix Stream EDitor (SED) program and certain

Re: [OSL | CCIE_Voice] translation-rule

2013-10-04 Thread Justin Carney
I agree with Marty's response. I happen to be a visual learner, so if you are too then below is a your example marked up with colors to highlight the different parts of the rule. (Also, read this: http://www.cisco.com/en/US/tech/tk652/tk90/technologies_tech_note09186a0080325e8e.shtml ) voice

Re: [OSL | CCIE_Voice] translation-rule

2013-10-04 Thread Martin Sloan
Wow. Great explanation! That was above and beyond. On Fri, Oct 4, 2013 at 3:23 PM, Justin Carney justin.s.car...@gmail.comwrote: I agree with Marty's response. I happen to be a visual learner, so if you are too then below is a your example marked up with colors to highlight the different

Re: [OSL | CCIE_Voice] Translation-rule help

2013-06-29 Thread Michael.Sears
Regis, If I understand you correctly you're placing an international call and want to do variable digit dialing, most likely for either SRST or for an H323 gateway. In this case where your using 9 for the secondary dial tone and 011 for international calling you wouldn't use a voice

Re: [OSL | CCIE_Voice] Translation-rule help

2013-06-28 Thread Regis Reis
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   

Re: [OSL | CCIE_Voice] Translation-rule help

2013-06-28 Thread khaled Saholy
Hi Hesham, You're trying to do this translation on voip dial-peers? You could try this rule 1 /^9\(1...\)/ /\1/ number of dots depends on how many digits to keep. Try and let's know. Regards. Khaled Date: Fri, 28 Jun 2013 09:29:07 -0700 From: heshamcentr...@gmail.com To:

Re: [OSL | CCIE_Voice] Translation-rule help

2013-06-28 Thread Hesham Abdelkereem
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

Re: [OSL | CCIE_Voice] Translation-rule help

2013-06-28 Thread Bill Lake
Um, not sure why you are making this so complicated SiteC-RTR(config)#voice translation-rule 8 SiteC-RTR(cfg-translation-rule)#rule 1 /^9/ // SiteC-RTR(cfg-translation-rule)#do test voice translation-rule 8 95551234 Matched with rule 1 Original number: 95551234 Translated number: 5551234

Re: [OSL | CCIE_Voice] Translation-rule help

2013-06-28 Thread Mark Thrash (marthras)
, ccie_voice@onlinestudylist.commailto:ccie_voice@onlinestudylist.com ccie_voice@onlinestudylist.commailto:ccie_voice@onlinestudylist.com Subject: Re: [OSL | CCIE_Voice] Translation-rule help Hi Hesham, You make this form: voice translation-rule 1 rule 1 /^91\(..$\)/ /\1/ rule 2 /^9

Re: [OSL | CCIE_Voice] translation rule

2010-05-22 Thread Matthew Hall
You are correct, this only catches when there is a null number, so : voice translation-rule 100 rule 1 /^$/ /42000/ If applied to an ANI would only apply to calls that had no ANI set and rewrite it to 42000. Matt On May 21, 2010, at 3:58 PM, Ashar Siddiqui wrote: Thanks David I have

Re: [OSL | CCIE_Voice] translation rule

2010-05-22 Thread Roger Källberg
:58 Till: David Holman Kopia: ccie_voice@onlinestudylist.com Ämne: Re: [OSL | CCIE_Voice] translation rule Thanks David I have already gone through that document many times :) Thanks Wael for your explanation. I was actually thinking that what would a null number be in my example. I have

Re: [OSL | CCIE_Voice] translation rule

2010-05-22 Thread Ashar Siddiqui
Consultant Cygate AB Från: Ashar Siddiqui [siddas...@gmail.com] Skickat: den 21 maj 2010 22:58 Till: David Holman Kopia: ccie_voice@onlinestudylist.com Ämne: Re: [OSL | CCIE_Voice] translation rule Thanks David I have already gone through that document many times :) Thanks

Re: [OSL | CCIE_Voice] translation rule

2010-05-21 Thread Wael Agina
Dear Ashar, The ^$ is catching null, which could be used to catch calls from unkown. example usage, drop any calls from PSTN that has ANI of unkown type. On H323 you could use following rule to do this voice translation-rule 1 rule 1 reject /^$/ voice translation-profile Drop-Unknown

Re: [OSL | CCIE_Voice] translation rule

2010-05-21 Thread David Holman
I keep this link handy for voice translation questions: http://www.cisco.com/en/US/tech/tk652/tk90/technologies_tech_note09186a0080325e8e.shtml On Fri, May 21, 2010 at 4:15 PM, Wael Agina waelag...@gmail.com wrote: Dear Ashar, The ^$ is catching null, which could be used to catch calls

Re: [OSL | CCIE_Voice] translation rule

2010-05-21 Thread Ashar Siddiqui
Thanks David I have already gone through that document many times :) Thanks Wael for your explanation. I was actually thinking that what would a null number be in my example. I have this customer router which has this specific rule for inbound calls. Will it work when PSTN will send "null

Re: [OSL | CCIE_Voice] Translation rule?

2010-04-05 Thread Steve Denney (stdenney)
Siddiqui Sent: Saturday, April 03, 2010 10:52 PM To: Hough, Earl Cc: ccie_voice@onlinestudylist.com Subject: Re: [OSL | CCIE_Voice] Translation rule? Cheers mate! it worked. On 04/04/2010 03:47, Hough, Earl wrote: It's an old RS lab trick. Hold down Ctrl+v first, then release and type

Re: [OSL | CCIE_Voice] Translation rule?

2010-04-05 Thread Hough, Earl
: ccie_voice@onlinestudylist.com Subject: RE: [OSL | CCIE_Voice] Translation rule? That is a good trick. :) Couldn't you also use a backslash in front of the ? to escape the wildcard? Not in front of a console right now so can't verify... cheers, sd From: ccie_voice-boun

Re: [OSL | CCIE_Voice] Translation rule?

2010-04-03 Thread Hough, Earl
It's an old RS lab trick. Hold down Ctrl+v first, then release and type the question mark. It should come in as a literal character and not a navigation key of the CLI. Earl Hough CCIE #16508 (RS/Security) From: ccie_voice-boun...@onlinestudylist.com

Re: [OSL | CCIE_Voice] Translation rule?

2010-04-03 Thread Ashar Siddiqui
Cheers mate! it worked. Ash On 04/04/2010 03:47, Hough, Earl wrote: It's an old RS lab trick. Hold down Ctrl+v first, then release and type the question mark. It should come in as a literal character and not a navigation key of the CLI. *Earl Hough* CCIE #16508 (RS/Security) *From:*

Re: [OSL | CCIE_Voice] Translation Rule for ephone-dn

2008-06-18 Thread Derrick Shumake
Try using numexp -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of WorkerBee Sent: Wednesday, June 18, 2008 1:58 PM To: OSL CCIE Voice Lab Exam Subject: [OSL | CCIE_Voice] Translation Rule for ephone-dn I would like to perform digit manipulation at

Re: [OSL | CCIE_Voice] Translation Rule for ephone-dn

2008-06-18 Thread WorkerBee
Numexp will work but I want to use the newer voice translation-profile method applied to ephone-dn instead. Under ephone-dn, it does support translation-profile but it doesn't seems to work. On Thu, Jun 19, 2008 at 5:02 AM, Derrick Shumake [EMAIL PROTECTED] wrote: Try using numexp

Re: [OSL | CCIE_Voice] Translation Rule for ephone-dn

2008-06-18 Thread Rimon Vallavanatt Jr.
] Subject: Re: [OSL | CCIE_Voice] Translation Rule for ephone-dn Numexp will work but I want to use the newer voice translation-profile method applied to ephone-dn instead. Under ephone-dn, it does support translation-profile but it doesn't seems to work. On Thu, Jun 19, 2008 at 5:02 AM, Derrick Shumake

Re: [OSL | CCIE_Voice] Translation Rule for ephone-dn

2008-06-18 Thread WorkerBee
on ephone ephone-dn 1 number 8001 translation-profile incoming HELP -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of WorkerBee Sent: Wednesday, June 18, 2008 4:06 PM To: OSL CCIE Voice Lab Exam; [EMAIL PROTECTED] Subject: Re: [OSL | CCIE_Voice