<div dir="ltr"><div style><span style="font-family:arial,sans-serif;font-size:13px">Hello Daniel! Thank you so much for your response. Inline exist.</span></div><div style><span style="font-family:arial,sans-serif;font-size:13px"><br>
</span></div><div style><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><span style="font-family:arial,sans-serif;font-size:13px">>> all you need is to put the most preferred gateway in the request uri and the rest of the options in a list of avps. </span><div>
<div><span style="font-family:arial,sans-serif;font-size:13px">>> Then use failure route to send to the addresses stored in avps in the case the most preferred fails to answer.</span><br style="font-family:arial,sans-serif;font-size:13px">
</div><div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">I am assuming you mean using the to do_routing, and use_next_gw methods in the script? A small example or reference</font></div>
<div><font face="arial, sans-serif">would be great help.</font></div><div><font face="arial, sans-serif"><br></font></div><div><span style="font-family:arial,sans-serif;font-size:13px">>> Not a user of Perl API, but I think you have the methods to set values to r-uri and avps.</span></div>
<div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">If anyone can bring my attention to a:</font></div><div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">i) A method that can build the ruri using `ip` and `prefix` parameters that we pass to it</font></div>
<div><font face="arial, sans-serif">ii) Check if the route fails so we iterate to the next gw in the list</font></div><div><font face="arial, sans-serif"><br></font></div><div style><font face="arial, sans-serif">Beers on me!!!! :)</font></div>
<div style><font face="arial, sans-serif"><br></font></div><div style><font face="arial, sans-serif">Kind Regards,</font></div><div style><font face="arial, sans-serif"><br></font></div><div style><font face="arial, sans-serif">Nick from Toronto</font></div>
<div><div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><br></div></div></div></div>