aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-11-05 20:40:01 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-11-05 20:40:01 +0000
commit11362dc06997abc5a73015be34bbdb601d54b4dd (patch)
treeea8d515a8d70dda0ce60a889095b2adc74e591af /include
parent02e24fdda9bcf62e93f5692b5b8ad4c627e06162 (diff)
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: http://svn.digium.com/svn/asterisk/branches/1.4@88719 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include')
-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