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

Joshua Colp reviewboard at asterisk.org
Wed Mar 12 13:53:58 CDT 2014


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/3343/
-----------------------------------------------------------

Review request for Asterisk Developers.


Bugs: ASTERISK-23435
    https://issues.asterisk.org/jira/browse/ASTERISK-23435


Repository: Asterisk


Description
-------

This change adds a configuration option for setting nameservers to be used by the PJSIP DNS client. If this option is not set then the system nameservers are retrieved and used instead.

This also allows the nameservers to be changed by doing a reload.


Diffs
-----

  /branches/12/res/res_pjsip/pjsip_configuration.c 410470 
  /branches/12/res/res_pjsip/include/res_pjsip_private.h 410470 
  /branches/12/res/res_pjsip/config_global.c 410470 
  /branches/12/res/res_pjsip.c 410470 
  /branches/12/main/dns.c 410470 
  /branches/12/include/asterisk/dns.h 410470 
  /branches/12/configs/pjsip.conf.sample 410470 
  /branches/12/CHANGES 410470 

Diff: https://reviewboard.asterisk.org/r/3343/diff/


Testing
-------

Explicitly set nameservers and confirmed they were used by PJSIP. Disabled it and confirmed that the DNS client was disabled. Set to auto (explicitly and by default) and confirmed that the system nameservers were used.


Thanks,

Joshua Colp

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20140312/928c05f9/attachment.html>


More information about the asterisk-dev mailing list