Iirc, AX is active state, which should be the expected in this case, because NAPTR+SRV can
return many records of A/AAAA/CNAME/IP type, and the module is not keeping track of them.
Sometimes not all of them are returned, just couple, being rotated for the purpose of DNS
based load balancer. So, the idea is that an address with flag 16 set should be used
always.
You can set retransmission timeout to a short interval to fail over to another destination
quickly, instead of trying to rely on not selecting it due to inactive state. This should
be done also even for IP addresses, because the keepalive is sent periodically, in the
intervals between them the destination can become inactive.
For now, I think the use of naptr/srv only records is working as expected.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/1743#issuecomment-443186085