Alan Crosswell writes:
Does the LCR implementation in 1.2 search the lcr_routes table in order listed?
from README:
Matching gateways are then ordered for forwarding purpose (1) according to longest user part match, (2) according to gateway's priority, and (3) randomly.
so if you have in lcr table
311 ... 3 ...
and call goes to r-uri where userpart starts with 311, then the first entry would be selected.
-- juha