I have read the DigitMap portion of the admin guide.
Based on that and an earlier post
http://www.obitalk.com/forum/index.php?topic=2779.0, here is my current understanding. I have Obi202.
For Ph1, Ph2, AA (auto attendant) there is DigitMap and OutboundCallRoute.
For SP1, .. SP4, there is DigitMap.
Now, I want to control how certain calls made from Ph1 are routed (and I would like this logic to be different for Ph2).
SP1 is the primary line for Ph1. Last time I had asked a question about how calls made from Ph1 should be routed, I was advised that I should insert code in SP1's DigitMap such that calls beginning with 011 are prefixed with **4.
However, I would rather do the processing within Ph1's digitmap. That way, I can have separate outbound call routing logic for Ph1, Ph2, AA and for the bluetooth attachment that I hope to have for my cell phone.
Is it possible to do such routing in Ph1's digitmap, by prefixing **4 to calls that begin with 011 and are dialed on Ph1? Or is it inherently better to put routing logic in SP1 etc.
Btw, my basic understanding of how this routing thing works is as follows:
Ph1 --> Numbers entered. Call made. --> Ph1's DigitMap is looked up. That in turn looks up other DigitMaps as it generally does look up the primary line DigitMap. Number may or may not be modified after such lookup. --> Number is sent to Ph1's OutboundCallRoute. --> Then the number is sent to SP1, SP2, AA, or other line based on that.
Is the above right? If so, I hope that Ph1's digitmap itself should be capable of making the change.
Thanks in advance for replying. This stuff is tough!