jimates,
I'd be happy to explain the elements of the LINE Port DigitMap I suggested:
(xxxxxxxS4|<1>[2-9]xxxxxxxxxS0|1xxxxxxxxxxS0|xx.)
The interdigit timer starts out at 10 seconds, meaning you have 10 seconds to enter another digit before the DigitMap Processor assumes you're done and evaluates what's been entered to that point. It stays at 10 seconds until there's at least one rule in an Exact Match state. At that point, the interdigit timer changes to 2 seconds.
For this set of rules, the timer stays at 10 seconds until the 7th digit has been entered. Since 7 digits exactly matches the first rule, the timer would normally change to 2 seconds at that point. Since 2 seconds is a bit short if you've got more digits to enter, such as a 10- or 11-digit number, S4 sets the timer to 4 seconds instead. If you haven't entered anything else after 4 seconds, the DMP returns the 7-digit number.
The 8th digit you enter causes the first rule to change to the Mismatch state and the timer reverts to 10 seconds. If you keep entering digits until you reach the 10th and the first digit is not a 0 or 1, it's assumed you've entered a 10-digit number starting with an area code. Since this exactly matches the second rule, the timer would normally change to 2 seconds, but S0 sets the timer to 0 and the DMP returns the 10-digit number immediately, adding a 1 to the beginning.
If the first digit is a 1 and 10 more digits were entered behind it, the third rule is matched, the timer is forced to 0 and the DMP returns the 11-digit number immediately, unchanged.
If none of the first 3 rules are matched, the fourth rule matches whatever digits you've entered and the DMP returns them after 10 seconds.
Now let's look at the default LINE Port DigitMap:
(xxxxxxxS4|1xxxxxxxxxx|xx.)
This DigitMap has three problems:
1. 10-digit numbers. Since they don't exactly match any of the rules, there's a 10 second wait for the DMP to return them.
2. 10-digit numbers. A 1 is not added to the beginning of the returned number.
3. 11-digit numbers. There's a 2 second wait that's totally unnecessary.
There you have it. Are you still glad you asked?