02-09-2010 07:11 AM - last edited on 03-25-2019 07:56 PM by ciscomoderator
Hello,
I am trying to translate all outgoing calls in a remote office to one number and keep getting an error in the translation pattern (numbers changed to protect the dumb).
Router1(config-translate)#rule 1 /9.*/ /5555551234/
Incorrect format for Translation Match Pattern
regular expression must be of the form ^(\^)?(\+)?([0-9,A-F.*%?#]+)$
Invalid match pattern string input /9.*/
Am I going about this wrong?
Solved! Go to Solution.
02-09-2010 07:47 AM
Just checking that you need to use a "voice translation-rule" rather than the standard "translation-rule" to make this work.
cheers
mark
02-09-2010 07:15 AM
try
rule 1 /9.\*/ /5555551234/
02-09-2010 07:19 AM
Unfortunately that did not work either.
Router1(config-translate)#rule 1 /9.\*/ /5555551234/
Incorrect format for Translation Match Pattern
regular expression must be of the form ^(\^)?(\+)?([0-9,A-F.*%?#]+)$
Invalid match pattern string input /9.\*/
02-09-2010 07:47 AM
Just checking that you need to use a "voice translation-rule" rather than the standard "translation-rule" to make this work.
cheers
mark
02-09-2010 07:51 AM
Mr. Mark Batts you sir are the winner!
*sigh*
All is well now. Thanks!
02-09-2010 07:47 AM
Perhaps this is a silly question, but why not let the Dial-Peer strip off that digit? A pots dial-peer will strip off the digits used to match by default. What does your dial-peer look like?
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