Understanding Digit Map Rules
The following is a list of digit map string rules. If you are using a list of strings, each string in the
list can be specified as a set of digits or timers, or as an expression which the handset will use
to find the shortest possible match.
Digit map extension letter ‘R’ indicates that certain matched strings are replaced. Using a ‘RRR’
syntax, you can replace the digits between the first two ‘R’s with the digits between the last two
‘R’s. For example, R555R604R would replace 555 with 604. Digit map timer letter ‘T’ indicates a
timer expiry. The following examples illustrate the semantics of the syntax:
R9R604Rxxxxxxx—Replaces 9 with 604
For example, a customer dials 91524810 – the digits sent to the PBX will be
6041524810
xxR601R600Rxx—When applied to 1160122 gives 1160022
R9RRxxxxxxx—Remove 9 at the beginning of the dialed number (replace 9 with
nothing)
For example, if a customer dials 914539400, the first 9 is removed when the call is
placed.
RR604Rxxxxxxx—Prepend 604 to all seven digit numbers (replace nothing with 604)
For example, if a customer dials 4539400, 604 is added to the front of the number,
so a call to 6044539400 is placed.
xR60xR600Rxxxxxxx—Replace any 60x with 600 in the middle of the dialed number
that matches
For example, if a customer dials 16092345678, a call is placed to 16002345678.
911xxx.T—A period (".") that matches any arbitrary number, including zero, of
occurrences of the preceding construct
For example:
911123 with waiting time to comply with T is a match
9111234 with waiting time to comply with T is a match
91112345 with waiting time to comply with T is a match
and the number can grow indefinitely given that pressing the next digit takes less than T.