The DMP restarts the interdigit timer on every newly entered digit. The duration of this timer can
be either long or short. The long and the short timer values are set by default to 10 seconds
and 2 seconds, respectively, and are configurable per PHONE port via the DigitMapLongTimer and
DigitMapShortTimer parameters. Whether to use the long or short interdigit timer depends on the
current rule matching states. The DMP maintains a matching state for each rule in the digit map as it
processes each input digit. The following states are defined:
Partially Matched (PM)
The rule partially matches the accumulated input sequence. Initially all rules are in this state
before any digit is entered. Rules in this state have the potential of becoming Exactly Matched
(EM) or Indefinitely Matched (IM) as more digits are entered.
Example: 1234 partially matches the rules xxxxxxx, 1xxxx, 1234567, <123:>xxxx.
Exactly Matched (EM)
The rule exactly matches the accumulated input sequence. However, any further input digit turns
this rule into the Mismatch (MM) state.
Example: 1234 exactly matches the rules xxxx, 1234, 1xxx, <123:5678>x.
Indefinitely Matched (IM)
The rule matches the accumulated input sequence indefinitely, with a variable length such that
the rule can potentially stay as IM as more matching digits are entered.
Example: 011853 indefinitely matches the rules xx., 011xx., <011:>xx.
Mismatch (MM)
The rule does not match the accumulated input sequence. This state won't change as more
digits are entered.
Example: 1234 mismatches the rules 123, 1xx, 12345.
Rules in the EM or IM state are candidates to be selected by the DMP. After processing a new digit,
the DMP returns a final decision if any of the following conditions holds:
● All rules are the MM state. The DMP returns an error.
● One or more rules are in the EM state with no rules in the IM state. The DMP returns the best
matched EM rule. If the best matched rule is a barring rule, the DMP returns an error instead.
Otherwise, the DMP starts the short interdigit timer if there is at least one rule in the EM state, or
else the long timer. When the interdigit timer expires, the DMP makes a timely decision by returning
either the best matched rule at that moment if one is found, or else a timeout error. Again, if the best
matched rule in this case is a barring rule, the DMP returns an error instead. The timer to wait for the
first input digit is not governed by the interdigit timer, but by the duration of dial tone being played and
could be a lot lengthier than the long interdigit timer.
The best matched rule is the one that has the most specific literals matching the input digit sequence.
For example, the input sequence 1234 matches the rule 123x better than 1xxx. On the other hand,
an EM rule is always selected over an IM rule.
Finally, the default interdigit timer can be overridden by appending the S n element at the end of the
rule (
n
= 0-9).
Let's look at some examples. Consider this simple digit map:
(<1408>xxx xxxx)
As soon as 7 digits have been entered, the DMP returns a complete number by prepending the
accumulated digits with 1408.
Consider another simple map:
66
Chapter 11Call Routing