On 03/13/2014 10:13 PM, Sean Bright wrote:
> In order to make this "channel agnostic" you have three (equally bad) options:
>
>  1. Replace Asterisk's internal DNS facilities with PJLIB's, creating a 
> mandatory
>     dependency on PJSIP.
>  2. Roll a shiny new DNS API into Asterisk that supports all address types 
> (multiple
>     results, weighting, etc.).  Bear in mind that PJSIP would not use this 
> new API at
>     all, you would still need to create a PJLIB DNS resolver and feed it the 
> nameservers
>     to use.
>

If you do decide you want a cross-platform, asynchronous DNS API which is not 
tied to
pjlib, you might consider c-ares (of libcurl / wireshark / node.js fame):

http://c-ares.haxx.se/

Just my two cents.

Jeremy
-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev

Reply via email to