[sr-dev] [kamailio] srv_query () function (#119)

Olle E. Johansson notifications at github.com
Thu Apr 2 08:45:57 CEST 2015


Thank you, this can be useful in some cases.

You know that DNS SRV and NAPTR support is in the core, right?

Sorting by weight is not in RFC 2782. You sort by priority and get a set of entries for each priority. Then you select by weight - but the result should be one entry, not a sorted list by weight. Weight is for load balancing, not sorting and failover. Priority is for failover.

---
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/119#issuecomment-88774954
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20150401/4f89c924/attachment-0001.html>


More information about the sr-dev mailing list