<div dir="ltr">Hi all,<div><br></div><div>I'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've been trying to fix it like this:</div>
<div><br></div><div>* put fqdn in ruri</div><div><div>* t_on_failure("1")</div></div><div>* t_on_branch("1")</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("1") 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 & best regards,</div><div><br></div><div>Leon de Rooij</div>
</div>