I looked at OBI a while back, but my setup worked at that time and so I never bothered to fully understand this. I have OBI 202. SP1 is GV & SP2 is CC. No line into the USB slot. One phone is hooked into Slot 1 in the 202.
SP1 handles all US and international calls. SP2 handles 911/933 and it is the main (and the only line) to receive incoming calls. GV forwards to CC on GV website. All works with my setup.
My understanding of outbound logic is:
1. I make a call, say 911 (PN).
2. OBI looks at the Phone's DigitMap (DM).
3. The PN is validated against this DM and optionally modified.
4. If a rule is matched, the processing of this call continues. If no rule is matched in DM, the call is blocked/dropped and the processing stops.
5. Assuming the DM check is good to go, the PN (original or modified) is matched against the Phone's OutboundCallRoute (OCR).
6. At this point, a rule needs to be present in OCR with something like "{(<**2:>(Msp2)):sp2}" so that ITSB Profile B is used with SP2's credentials to route this call.
-- Because the above rule has "(Msp2)", OBI will validate the PN against ITSB Profile B's DigitMap. If a match is found, call will be send to SP2 for processing. if no match is found, the call will be dropped.
-- if the above rule was "{(<**2:>):sp2}" instead, the ITSB Profile B's DM is NOT CHECKED and the phone call is "forced" to go out via SP2?
Am I correct in my understand?
I also have some additional questions:
1. Am I correct in assuming that DM (of phone or any ITSB) DOES NOT control routing of calls (meaning, deciding which terminal should handle the outgoing call)? The responsibility of that is with the phone's OCR and only with OCR... DMs are only responsible for validation and optionally modifying input phone numbers received by them...
2. My assumption that the phone's DM is verified BEFORE the phone's OCR is processed.. Is that correct?
3. The default DM of Phone has an entry "**2(Msp2)" and the default OCR of Phone has an entry of "{(<**2:>(Msp2)):sp2}". I am confused by this... Shouldn't the modification of the phone number be done in the DM and not in the OCR? Meaning, shouldn't the "<**2:>" be done in DM and not in OCR?
4. What exactly is the function of setting a "primary line"? My understanding:
If no match is found in the phone's OCR, the SP designated as primary line is used for outgoing call. If my understanding is correct, is the primary line's DM (say, SP1 is the primary line. So SP1's DM) used for validation of the phone number? Or SP1's DM check is skipped and the call is forced out via SP1?