I'm trying to retain the option to force SP1 or LINE on any call.
The basic set up I am aiming for:
Overseas (011) and normal long distance (1) calls go via SP1
Local calls (area code 613), 1-800/877/866/855 calls go via LINE
311/411/811/911 (i.e. [2-9]11) calls go via LINE
*98 goes to LINE
*97, 4443, 4747, 068xxxx, *75xx , 10x go to SP1
# forces LINE, followed by any number
**1 forces SP1 (with secondary dial tone), followed by any valid SP1 number (as above)
***, **0 Auto Attendant, as in the default set up.
Any other combination of *xx. or xx. not mentioned above goes to LINE
SP2, ObiTalk currently unused.
And for good measure, 01144[12]xxxxxxxxx? gets rewritten to use an 04444 prefix when using SP1 (voip.ms) , to force
voip.ms to use premium routing, which is cheaper than value routing in this case.
I think I've got it working (except for the 1-8XX numbers which I forgot about), but only with changes to the Phone port/ OutboundCallRoute.
The approach I've taken is to add (Msp) to the Phone DigitMap, and create a Mvoip DigitMap which defines what should be routed to SP1 rather than LINE. the Mvoip digit map is then included as a rule in the OutboundCallRoute: {(Mvoip):sp}
However, I'm, still new to the Obi devices so I'm not sure if I'm doing things the easy way or the hard way.