From a3cec44a0a415e803057a11ab11d80e4f93e10cf Mon Sep 17 00:00:00 2001 From: Joshua Colp Date: Mon, 13 Apr 2015 10:47:01 -0300 Subject: res_pjsip: Add external PJSIP resolver implementation using core DNS API. This change adds the following: 1. A query set implementation. This is an API that allows queries to be executed in parallel and once all have completed a callback is invoked. 2. Unit tests for the query set implementation. 3. An external PJSIP resolver which uses the DNS core API to do NAPTR, SRV, AAAA, and A lookups. For the resolver it will do NAPTR, SRV, and AAAA/A lookups in parallel. If NAPTR or SRV are available it will then do more queries. And so on. Preference is NAPTR > SRV > AAAA/A, with IPv6 preferred over IPv4. For transport it will prefer TLS > TCP > UDP if no explicit transport has been provided. Configured transports on the system are taken into account to eliminate resolved addresses which have no hope of completing. ASTERISK-24947 #close Reported by: Joshua Colp Change-Id: I56cb03ce4f9d3d600776f36928e0b3e379b5d71e --- CHANGES | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'CHANGES') diff --git a/CHANGES b/CHANGES index 4237c82e2..57a4ebb56 100644 --- a/CHANGES +++ b/CHANGES @@ -83,6 +83,10 @@ Core dedicated thread per consumer in certain cases. The initial settings for the thread pool can now be configured in 'stasis.conf'. + * A new core DNS API has been implemented which provides a common interface + for DNS functionality. Modules that use this functionality will require that + a DNS resolver module is loaded and available. + Functions ------------------ @@ -110,6 +114,19 @@ res_musiconhold over the channel-set musicclass. This allows separate hold-music from application (e.g. Queue or Dial) specified music. +res_resolver_unbound +------------------ + * Added a res_resolver_unbound module which uses the libunbound resolver library + to perform DNS resolution. This module requires the libunbound library to be + installed in order to be used. + +res_pjsip +------------------ + * A new SIP resolver using the core DNS API has been implemented. This relies on + external SIP resolver support in PJSIP which is only available as of PJSIP + 2.4. If this support is unavailable the existing built-in PJSIP SIP resolver + will be used instead. The new SIP resolver provides NAPTR support, improved + SRV support, and AAAA record support. CEL Backends ------------------ -- cgit v1.2.3