<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Hello,
<div><br>
</div>
<div>im using kamaliio 5.5.3 and I want to do failedover routing with DNS SRV Records.</div>
<div><br>
</div>
<div>in my lab i have these SRV records</div>
<div><br>
</div>
<div>;; ANSWER SECTION:</div>
<div>voip.oov-obs-tools-dev.svc.cluster.local. 5 IN SRV 0 33 5060 100-68-7-74.voip.oov-obs-tools-dev.svc.cluster.local.</div>
<div>voip.oov-obs-tools-dev.svc.cluster.local. 5 IN SRV 0 33 5060 100-68-7-75.voip.oov-obs-tools-dev.svc.cluster.local.</div>
<div>voip.oov-obs-tools-dev.svc.cluster.local. 5 IN SRV 0 33 5060 100-68-7-76.voip.oov-obs-tools-dev.svc.cluster.local.</div>
<div><br>
</div>
<div>;; ADDITIONAL SECTION:</div>
<div>100-68-7-76.voip.oov-obs-tools-dev.svc.cluster.local. 5 IN A 100.68.7.76</div>
<div>100-68-7-75.voip.oov-obs-tools-dev.svc.cluster.local. 5 IN A 100.68.7.75</div>
<div>100-68-7-74.voip.oov-obs-tools-dev.svc.cluster.local. 5 IN A 100.68.7.74</div>
<div><br>
</div>
<div><br>
</div>
<div>my config script </div>
<div><br>
</div>
<div>use_dns_cache=on</div>
<div>use_dns_failover=on</div>
<div>dns_srv_lb=on</div>
<div><br>
</div>
<div>$du = "voip.oov-obs-tools-dev.svc.cluster.local";</div>
<div><br>
</div>
<div>t_relay();</div>
<div><br>
</div>
<div><br>
</div>
<div>after t_relay() is called the INVITE is send to one the 3 ips corresponding to fqdn but if the first ip does not</div>
<div>send response. the two others ips are not tried.</div>
<div><br>
</div>
<div><br>
</div>
<div>what i want is that all the ips resolved are tried until one succeeds. </div>
<div><br>
</div>
<div>is there something to do to achieve that ? </div>
<div>do i need to interact with failure route to try next ips ? </div>
<div><br>
</div>
<div><br>
</div>
<div>Thanks for help.</div>
<div><br>
</div>
<div><br>
</div>
<div>version: kamailio 5.5.3 (x86_64/linux) </div>
<div>flags: USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, USE_RAW_SOCKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MMAP, PKG_MALLOC, Q_MALLOC, F_MALLOC, TLSF_MALLOC, DBG_SR_MEMORY, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE, USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLOCKLIST,
 HAVE_RESOLV_RES, TLS_PTHREAD_MUTEX_SHARED</div>
<div>ADAPTIVE_WAIT_LOOPS 1024, MAX_RECV_BUFFER_SIZE 262144, MAX_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 8MB</div>
<div>poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.</div>
<div>id: unknown </div>
<div>compiled with gcc 10.2.1</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<br>
</div>
</body>
</html>