Kevin P. Fleming wrote: > I guess I'm wrong then... the weight processing is in 1.4 already, and > hasn't changed in 1.6. You are right, though, that there doesn't seem to > be any priority ordering, which seems odd because it should be simple. > I'll see about adding that to 1.6.
Never mind... I was mistaken. The srv_callback() function puts the records returned by the DNS lookup into priority order (lowest numbers first), and then the process_weights() function sorts by weight within each priority. So, in both Asterisk 1.4 and 1.6, the SRV record lookups should choose the lowest-priority, highest-weight entry returned by the DNS lookup. There still isn't any failover, but we are least choosing the correct single record from the list in DNS. -- Kevin P. Fleming Director of Software Technologies Digium, Inc. - "The Genuine Asterisk Experience" (TM) _______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
