[sr-dev] [kamailio/kamailio] Dispatcher fails to work with NAPTR/SRV as destination (#1743)

Daniel-Constantin Mierla notifications at github.com
Fri Nov 30 13:12:55 CET 2018


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20181130/c88d311d/attachment.html>


More information about the sr-dev mailing list