From aecb21e8228cbeacffae38484a53209ff44177a2 Mon Sep 17 00:00:00 2001 From: Russell Bryant Date: Mon, 5 Nov 2007 20:44:05 +0000 Subject: Merged revisions 88719 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r88719 | russell | 2007-11-05 14:40:01 -0600 (Mon, 05 Nov 2007) | 7 lines Merge changes from asterisk/team/kpfleming/SRV-priority-handling Previously, the SRV record support in Asterisk was broken. There was no guarantee on what record Asterisk would choose to actually use. This set of changes improves the situation by ensuring that Asterisk will choose the highest priority record. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@88740 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- include/asterisk/srv.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'include/asterisk/srv.h') diff --git a/include/asterisk/srv.h b/include/asterisk/srv.h index 2a98c69f6..b15ebdc5f 100644 --- a/include/asterisk/srv.h +++ b/include/asterisk/srv.h @@ -26,9 +26,10 @@ /*! \file srv.h \brief Support for DNS SRV records, used in to locate SIP services. - \note Note: The Asterisk DNS SRV record support is broken, it only - supports the first DNS SRV record and will give no load - balancing or failover support. + \note Note: This SRV record support is very minimal; it will only + return the first (lowest priority) answer that is received, and + has no provisions for the 'weight' elements of the records or + retrying if the first returned result fails. */ /*! Lookup entry in SRV records Returns 1 if found, 0 if not found, -1 on hangup -- cgit v1.2.3