I'm trying to set up a translation rule and I'm getting invalid string as return, for me the command is correct. I saw the exactly command on a different router.
Any help appreciated
RIO1RT009448(config-translate)#rule 1 /^.*/ /9&/ subscriber subscriber
Incorrect format for Translation Match Pattern
regular expression must be of the form ^(\^)?(\+)?([0-9,A-F.*%?#]+)$
Invalid match pattern string input /^.*/
Cisco IOS Software, 3800 Software (C3825-SPSERVICESK9-M), Version 12.4(23), RELEASE SOFTWARE (fc1)
There were any changes on the command syntax?
No, not a defect. I just noticed the prompt in your samples. You are using
a "translation-rule" as opposed to a "voice translation-rule". I just
confirmed on my lab router that I have the same syntax error message when
applying the configure to a "translation-rule".
Can you try:
Voice translation-rule 10
rule 1 /.*/ /9&/ type subscriber subscriber
Voice translation-profile testprofile
translate called 10
The translation-rule tag (10 in the example) is arbitrary as is the profile
name (testprofile). Use whatever makes sense in your environment. The
distinction of called vs. calling is to define which information element you
want to tweak. You can assign the translation profile as ingress or egress
on whatever dial-peer makes sense.
On 7/2/10 8:10 AM, "rafaelchavantes"