<div dir="ltr">Hi all,<div><br></div><div>I&#39;d like to route a call to a domain, perform NAPTR,SRV,A lookups and in each serial failure_route, use the resolved destination IP to set a custom pre-loaded route.</div><div>
<br></div><div>I&#39;ve been trying to fix it like this:</div>

<div><br></div><div>* put fqdn in ruri</div><div><div>* t_on_failure(&quot;1&quot;)</div></div><div>* t_on_branch(&quot;1&quot;)</div><div>* t_relay()</div><div><br></div><div>Should I then be able to get the resolved destination IP address in the branch_route[1] ? How should I then get the second, third, etc ip adress ? I tried to put another t_on_branch(&quot;1&quot;) in the failure_route but that results in an</div>
<div><br></div><div>ERROR:tm:t_forward_nonack: failure to add branches</div><div><br></div><div>Anybody know how this should work ?</div><div><br></div><div>Thanks &amp; best regards,</div><div><br></div><div>Leon de Rooij</div>








</div>