Outgoing Number Translation

Answered Question
Feb 9th, 2010
User Badges:

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?

Correct Answer by markbatts about 7 years 2 months ago

Just checking that you need to use a "voice translation-rule" rather than the standard "translation-rule" to make this work.


cheers

mark

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
paolo bevilacqua Tue, 02/09/2010 - 07:15
User Badges:
  • Super Gold, 25000 points or more
  • Hall of Fame,

    Founding Member

try


rule 1  /9.\*/ /5555551234/

robloeber Tue, 02/09/2010 - 07:19
User Badges:

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.\*/

Correct Answer
markbatts Tue, 02/09/2010 - 07:47
User Badges:
  • Bronze, 100 points or more

Just checking that you need to use a "voice translation-rule" rather than the standard "translation-rule" to make this work.


cheers

mark

robloeber Tue, 02/09/2010 - 07:51
User Badges:

Mr. Mark Batts you sir are the winner!


*sigh*


All is well now.  Thanks!

CHRIS CHARLEBOIS Tue, 02/09/2010 - 07:47
User Badges:
  • Silver, 250 points or more

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?

Actions

This Discussion