Which inboud route takes precedence?
Priority (first match is taken):
Route specifies DID and CID, both match.
Route specifies CID, CID Priority Route is set to Yes, CID matches.
Route specifies DID, DID matches.
Route specifies CID, CID matches.
Route specifies any/any.
Call routed to ‘not in service’ error message.
Source: https://community.freepbx.org/t/inbound-route-pattern-matching-cid-which-takes-priority/61476