Quote from: theancient on October 03, 2021, 04:22:27 PM
Is there someplace a novice can learn about how to set these up?
Maybe the following will help you understand:
The Phone DigitMap gets control first and validates the dialed number.
The last rule, "(Mpli)" includes the Primary Line's digit map rules.
Substitution can happen here.
If the number matches more than 1 rule, the "Best" rule will be used, not the 1st.
If the number doesn't match a rule, you will get a busy.
If the number matches a rule, the outbound route gets control.
The outbound call route processes the rules between the "{ }" left to right.
If substitution occurred in the digit map, the OCR will see the transformed number, not the original dialed number. People get in trouble because they don't understand this behavior.
If the dialed number matches a rule, the call is routed to a provider and processing stops.
Substitution can also happen in the OCR.
The last rule "(Mpli):pli" will route the call to the primary line.
If you want to route a call to a provider other than the primary line without "**n", you must include additional code.
If the number doesn't match a rule, you will get a No Routes Available error.