This is how I would define your OBi212
BT1, BT2 and SP1 DigitMaps:
(1xxxxxxxxxx)
Line DigitMap:
([2-9]xxxxxxxxx,xxxxxxx)
TG1 DigitMap:
(1xxxxxxxxxx,[2-9]xxxxxxxxx,xxxxxxx)
TG1 TrunkList:
bt1,bt2,sp1,li
Phone1 Port
PrimaryLine: Trunk Group 1
{(Mpli):pli) in the Phone OutboundCallRoute routes calls to the Primary Line
(Mpli) points to TG1 DigitMap, so 11, 10 and 7 digit numbers will be routed to TG1
TG1 will process the trunk list from left to right
If the call fails or doesn't match the trunk digit map, TG1 will try the next trunk.
11 digits will be routed to BT1
If BT1 fails, BT2 will be tried and then SP1
10 and 7 digits don't match BT1, BT2 and SP1 digit maps, so these trunks are skipped and the call is routed to Line.