I am facing an issue similiar to the one outlined in the thread <br><br><a href="http://lists.opensips.org/pipermail/users/2010-April/011783.html">http://lists.opensips.org/pipermail/users/2010-April/011783.html</a><br><br>
<br> I am using the latest stable version of opensips (1.6.4) and tried the solution outlined in the thread above.<br>The issue I have observed is that t_relay function doesn't return control to the script in case of a send failure (e.g inability to establish TCP connection etc) and I recieve a 477 send failure on the client.<br>
<br>This is the relevant and simplified route block that I am using<br><br> route{<br> <br> lookup();<br> serialize_branches(1);<br> next_branches();<br> route(1);<br> }<br><br>route[1]{<br>
xlog("L_ERR", "Before t_relay");<br> t_relay();<br> xlog("L_ERR", "After t_relay");<br><br>}<br><br> The log statement after the call to t_relay doesn't get printed in case the highest priority contact (TCP) is unreachable.<br>
In essence any failover logic written on the return value of t_relay doesn't execute.<br><br>Thanks,<br>Amit<br><br><br>