Quote from: mish on March 13, 2012, 07:10:54 AMNow I would like 3 and 4 digit numbers (starting with number 1) to be dialed out using SP2.
If the 3 or 4 digits include the initial 1, e.g. 123 and 1345 should be sent to SP2, then your rules should be:
Service Providers -> ITSP Profile A -> General -> DigitMap:
(<**2>1xxx?|<1aaa>[2-9]xxxxxx|<1>[2-9]xxxxxxxxx|1xxxxxxxxxx|011xx.)
Service Providers -> ITSP Profile B -> General -> DigitMap:
(1xxx?|<1aaa>[2-9]xxxxxx|<1>[2-9]xxxxxxxxx|1xxxxxxxxxx|011xx.|(Mipd)|[^*#]@@.'@'@@.)
where aaa is your local area code for 7-digit dialing.
However, note that when you set up such a dial plan, there is a delay when you dial e.g. 1345, because the OBi has to wait to see whether more digits are coming. Conversely, if you pause too long after dialing an area code, the OBi will mistakenly treat the call as a 4-digit code to SP2. I assume that these short codes are extension numbers or speed dials. If you have control of the overall system, you might choose short codes that don't conflict with the North American numbering plan, e.g. have 3-digit codes 100-109 and 4-digit codes 1100-1199. With appropriate digit maps, there would be no delay on any calls (except 7-digit dialing in the local area). There are lots of other possible ways to design a no-conflict plan, e.g. start short codes with 0 (but not 01).