Address Translation Rules and Syntax

Match Rules

Match rules are used to determine what address is to be translated. If the incoming or outgoing address matches one of the translation rules then the translation in the rule will be performed on the address for which the rule matches.

Matches can be identified in a variety of ways, including by position, ranges, wild cards and digit specifications.

One way it does this is by matching each digit in the address with a digit specification (match). For example, a very restrictive match rule might be:

I:1234567=999

This match rule will match exactly one incoming address (1234567).

Let's say that on a particular line, every time the address 5555 is presented, you want to change it (translate it) to 6666. In the translation rules, any digit matches itself. So the rule for this translation from 5555 to 6666 would be:

5555 = 6666

By using various forms of 'wild cards', you can loosen up the matching rule to catch multiple addresses with a single rule. One wild card is the dollar sign ($) which will match a single numeric digit (0 through 9). To match any 7 numeric digit address, then, you would use the following rule:

I:$$$$$$$=7

The match part of a translation rule is the digits and symbols between the optional label and operator (= or => sign)

O:3211???=3244

I:{$$$}444=>777