[asterisk-users] srv records not being honoured properly

Brian J. Murrell brian at interlinx.bc.ca
Sun Oct 19 08:51:50 CDT 2008


On Sun, 2008-10-19 at 13:31 +0300, Kevin P. Fleming wrote:
> 
> Asterisk 1.6 supports proper SRV record sorting, so that the lookups
> will return the correct record to the module that requested the lookup.

That would be in ast_get_srv() then?  In 1.4.17 I do see weight
processing but not priority processing.  I'd just go look at the code
for 1.6.1 at svn.digium.com but that server does not not seem to be
responding.  Reachable but HTTP requests seem to not be completing.

Strangely enough, I think priority processing is more important than
weight processing.  If I were only going to implement one or the other I
would have chosen priority I think.

> However, the channel drivers still don't maintain any state information
> about records that have failed and then use that to failover to other
> records.

Indeed.  This seemed to be my observation when I took a quick peek at
1.6.1 yesterday.

> There are plans to extend the Asterisk DNS code (dnsmgr) to be
> able to provide this functionality, but like everything else, it's on
> the to-do list :-)

Indeed.  That never ending to-do list.  :-/

b.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20081019/8e964e41/attachment.pgp 


More information about the asterisk-users mailing list