Hello, im using kamaliio 5.5.3 and I want to do failedover routing with DNS SRV Records.
in my lab i have these SRV records ;; ANSWER SECTION: 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. 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. 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. ;; ADDITIONAL SECTION: 100-68-7-76.voip.oov-obs-tools-dev.svc.cluster.local. 5 IN A 100.68.7.76 100-68-7-75.voip.oov-obs-tools-dev.svc.cluster.local. 5 IN A 100.68.7.75 100-68-7-74.voip.oov-obs-tools-dev.svc.cluster.local. 5 IN A 100.68.7.74 my config script use_dns_cache=on use_dns_failover=on dns_srv_lb=on $du = "voip.oov-obs-tools-dev.svc.cluster.local"; t_relay(); after t_relay() is called the INVITE is send to one the 3 ips corresponding to fqdn but if the first ip does not send response. the two others ips are not tried. what i want is that all the ips resolved are tried until one succeeds. is there something to do to achieve that ? do i need to interact with failure route to try next ips ? Thanks for help. version: kamailio 5.5.3 (x86_64/linux) 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 ADAPTIVE_WAIT_LOOPS 1024, MAX_RECV_BUFFER_SIZE 262144, MAX_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 8MB poll method support: poll, epoll_lt, epoll_et, sigio_rt, select. id: unknown compiled with gcc 10.2.1
__________________________________________________________ Kamailio - Users Mailing List - Non Commercial Discussions * [email protected] Important: keep the mailing list in the recipients, do not reply only to the sender! Edit mailing list options or unsubscribe: * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
