summaryrefslogtreecommitdiff
path: root/include/asterisk/srv.h
diff options
context:
space:
mode:
authorRussell Bryant <russell@russellbryant.com>2007-11-05 20:44:05 +0000
committerRussell Bryant <russell@russellbryant.com>2007-11-05 20:44:05 +0000
commitaecb21e8228cbeacffae38484a53209ff44177a2 (patch)
tree51e501d6b91fcc0244db536f7c8ef9616b44dc2a /include/asterisk/srv.h
parent7df9905e712cf1c2a123498c5b65b68239686636 (diff)
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
Diffstat (limited to 'include/asterisk/srv.h')
-rw-r--r--include/asterisk/srv.h7
1 files changed, 4 insertions, 3 deletions
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