I have a question about the priority in which the inbound routes are followed when receiving a call. I know the default priorities are documented on the wiki, but my question surrounds the priority order when pattern matching and setting priority CIDs.
Inbound Route 1:
We are using pattern matching to allow certain area codes to bypass an IVR. For example 01234XXXXXX (each routing to IVR 1). A DID is also specified.
This works as expected until I added inbound route 2, for a priority phone number with cid priority set to yes (e.g 01234 567890 routing to ring group 1), then instead it follows the pattern match (route 1) above as DID and CID are defined. This route is also set to CID Priority ‘Yes’.
How can I program the system so that 01234 567890 overrides the pattern match route (1)? I can’t remove the DID from route 1. Would adding a DID and CID to the priority route override the pattern match?
I appreciate that my question is slightly complicated, so to put it simply, does a 100% DID&CID match have priority over a DID and CID pattern match?
You are correct, and there seems to be a bug – the patterns are placed earlier in the dial plan than the exact matches, when it should be the opposite. (At least, it’s a bug in my Core 14.0.28.12)
A workaround, which shouldn’t break when the bug gets fixed: