<br>I will use xml_curl to query a db for the cheapest routes to use. It will come back with a couple of different gateways to use. (LCR idea) Based on the response I get from the first gateway (404,503,500, 486), I want to either reroute to another gateway or send back to the originator the result that I found (486 in this case, other messages should be rerouted unless we hit the last and then send back a final response). <br>
<br>How can I do that in a dialplan? Can you point me some documention maybe?<br> <br>