]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip: Enable PJSIP DNS client support.
authorJoshua Colp <jcolp@digium.com>
Mon, 17 Mar 2014 22:53:08 +0000 (22:53 +0000)
committerJoshua Colp <jcolp@digium.com>
Mon, 17 Mar 2014 22:53:08 +0000 (22:53 +0000)
commit615f31275a31446cbf0dd255191342b9c81ced26
treed2bb263fb67d731656729e34070b7e84b1461ec1
parent55801411e1a1c0be63479b6088b6473a313a5405
res_pjsip: Enable PJSIP DNS client support.

This change enables DNS client support within PJSIP. System
nameservers are automatically discovered using res_init or
res_ninit. If this fails then PJSIP will resort to using
gethostbyname for resolution.

By enabling this support we gain SRV support, failover, and
weight support.

(closes issue ASTERISK-23435)
Reported by: Matt Jordan

Review: https://reviewboard.asterisk.org/r/3343/

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/12@410795 65c4cc65-6c06-0410-ace0-fbb531ad65f3
CHANGES
include/asterisk/dns.h
main/dns.c
res/res_pjsip.c
res/res_pjsip/config_system.c
res/res_pjsip/include/res_pjsip_private.h