<div dir="ltr">Found an old discussion about this issue, 

<a href="https://lists.kamailio.org/pipermail/sr-users/2010-April/027703.html">https://lists.kamailio.org/pipermail/sr-users/2010-April/027703.html</a> <div><br></div><div>It says that the t_relay error is because after drop of single/all branches, there's none left to relay. However, it is not clear what the solution is, as t_relay failure won't trigger a failure_route to do alternative actions.<br></div><div><br></div><div>Ideas?</div><div><br></div><div>Thanks,</div><div>--Sergiu</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Apr 8, 2020 at 11:14 PM Sergiu Pojoga <<a href="mailto:pojogas@gmail.com">pojogas@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi there,<br><div><br></div><div>Can someone help figure out why there's this t_relay error, if I decide to drop the single master branch either all branches belonging to the same destination set, even though there are more serial sets to try later?</div><div><br></div><div><b>Error:</b></div><div><i>tm [t_funcs.c:337]: t_relay_to(): t_forward_nonack returned error -6 (-6)</i><br></div><div><i>tm [t_funcs.c:355]: t_relay_to(): -6 error reply generation delayed </i></div><div><br></div><div><b>Example:</b></div><div><br></div><div>request_route {<br>   seturi("<a href="mailto:sip%3Aa@mydomain.net" target="_blank">sip:a@mydomain.net</a>");<br>   append_branch("<a href="mailto:sip%3Ab@mydomain.net" target="_blank">sip:b@mydomain.net</a>", "0.5");<br>   append_branch("<a href="mailto:sip%3Ac@mydomain.net" target="_blank">sip:c@mydomain.net</a>", "0.5");<br>   append_branch("<a href="mailto:sip%3Ad@10.22.0.30" target="_blank">sip:d@10.22.0.30</a>", "1.0");</div><div>   # append_branch("<a href="mailto:sip%3Ae@mydomain.net" target="_blank">sip:e@mydomain.net</a>", "1.0"); # no error if I add this branch with same Q=1.0<br><br>   t_load_contacts();<br>   t_next_contacts();<br><br>   t_on_branch("check_branch");<br>   t_on_failure("serial");<br><br>   t_relay();<br>   break;<br>}<br><br>branch_route[check_branch] {<br>   if($rd=="10.22.0.30")<br>      drop;<br>    }<br>     <br>failure_route["serial"] {<br>   if (!t_next_contacts())</div><div>      exit;</div><div>}<br><br>  t_on_branch("check_branch");<br>  t_on_failure("serial");<br>  t_relay();<br>}</div><div><br></div><div>Thanks in advance.</div><div><br></div><div>--Sergiu</div></div>
</blockquote></div>