[asterisk-dev] [Code Review] 3343: res_pjsip: Enable DNS support.

Jeremy Lainé jeremy.laine at m4x.org
Sun Mar 16 14:45:20 CDT 2014


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20140316/3e8679fe/attachment.html>


More information about the asterisk-dev mailing list