Alex Hermann writes:
Would it be relatively easier to provide the option for db mode again?
You can get the same -and more- functionality by using db_query, creating a list of destinations in the format and avp that next_gw() expects. ie sip:|0@destination;transport=udp which can be stored directly in the db or use a CONCAT or similar to create it from separate fields.
it this is acceptable, i would prefer using it rather than increasing complexity of lcr module. it also occurred to me that making prefix a regular expression, may break backwards compatibility.
-- juha