Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Voice Translation Rule help - combining rules

Status
Not open for further replies.

dudecrush

IS-IT--Management
Apr 2, 2007
468
US
All - I've got 40+ locations, and each location has it's own 2-digit prefix. In my voice-translations, I want the translation rule number to match the location number to make troubleshooting easier.

I've got one location - location 74 - that doesn't have a sequential set of digits, so I tried creating 3 rules - rule 741, 742 and 743. I then learned that translation rules must be sequential up to 99.

So...to make one translation rule - I now want to write a translation rule that combines 3 rules into one statement. Individually, the 3 rules work. These are the 3 rules:
rule 741 /^.*\(76..\)/ /414525\1/
rule 742 /^.*\(0.00\)/ /414525\1/
rule 743 /^.*\(2340\)/ /414525\1/

Below is the combined rule and the output from my Gateway. (The '^' in the error should be pointing at "^" in the expression). Where am I making my mistake?

rule 74 /^.*\(76..\) (0.00) (2340)/ /414525\1\2\3/
^
% Invalid input detected at '^' marker.
 
You can't combine like that. That is why.

Certifications:
A+
Network+
CCENT
CCNA Voice
TVOICE
CAPPS
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top