Quote from: mo832 on April 08, 2014, 01:00:55 PM
Now, disregarding all of the special alternatives we have tried, can you help me figure out why my setup was still requiring the **1 even though the codes seemed to take care of it automatically via Primary Line? If I have a logic error somewhere, I would like to find it now before it becomes an issue, if ever.
I took another look at this and found the problem.
ITSP B DigitMap
(1xxxxxxxxxx|<1>[2-9]xxxxxxxxx|011xx.|xx.|(Mipd)|[^*#]@@.)
Phone Port OutboundCallRoute
{([1-9]x?*(Mpli)):pp},{**0:aa},{***:aa2},{(<**1:>(Msp1)):sp1},{(<**2:>(Msp2)):sp2},{(<**9:>(Mpp)):pp},{(Mvg8):vg8},{(Mpli):pli}
First, the OutboundCallRoute processes left to right. {(Mpli):pli} is the rule that routes calls to the Primary Line (SP1)
[^*#]@@. is the rule causing the problem.
This rule will match a dialed number where the 1st character is NOT an * or # followed by 1 or more characters.
**275*18005551212 will match {(<**2:>(Msp2)):sp2} and be routed to SP2.
**2 will match <**2:>
and
75*18005551212 will match (Msp2)
You can fix the routing problem by removing "|[^*#]@@."