Quote from: sorvani on May 01, 2011, 09:54:10 AMI am assuming that the unit processes the digit map in order and stops after it matches? If that is the case couldn't I set up some default digit map that would dial the specified ITSP based on what was dialed?
011X or 0X goto ITSPB while anything else goes to ITSPA?
DigitMap processing is more involved than a simple sequential scan and stop on a match. For a complete description of the process, see 'Matching Against Multiple Rules in Digit Map' on page 119 of the OBi Device Administration Guide (Version 31.03.11: 31 March 2011).
Yes, it is possible to tailor DigitMaps to route particular call patterns to particular ports.
For example...
If you set:
Physical Interfaces -> PHONE Port -> PrimaryLine : SP1 Service
ITSPA DigitMap:
(1xxxxxxxxxx|<1>[2-9]xxxxxxxxx|<**2>011xx.|<0:**201181>xx.|xx.|(Mipd)|[^*]@@.)
ITSPB DigitMap:
(1xxxxxxxxxx|<1>[2-9]xxxxxxxxx|011xx.|xx.|(Mipd)|[^*]@@.)
Then dialing US/Canada numbers (10- or 11-digits) should automatically go out SP1 (Google Voice) and dialing 011X or 0X numbers should automatically go out SP2 (CallWithUs).
You can also dial US/Canada numbers (10- or 11-digits) through CallWithUS by prefixing **2.
If you'd also like to be able to dial 7-digit local numbers, add:
<1aaa>xxxxxxxS4|
to the beginning of both ITSPx DigitMaps, where aaa is your local area code.