Jeff Russell writes:
We have a table with about 145,000 NPA/NXX's with differing rates and carriers, I would like to use the LCR module to load this table and rewrite the URI based on the best rate for dialled number and or a default route.
lcr module selects the gateways first based on longest matching prefix of called number and second based on priority of the gateways defined for the matched prefix. perhaps you can map your rates to these priorities.
-- juha