PJSIP: Handle defaults properly
authorKinsey Moore <kmoore@digium.com>
Wed, 1 Oct 2014 12:28:05 +0000 (12:28 +0000)
committerKinsey Moore <kmoore@digium.com>
Wed, 1 Oct 2014 12:28:05 +0000 (12:28 +0000)
commit4d2c7c23f8ccfe61c0b8bdc53802862d4d763fe4
tree09f716224b83a459aef8f20eb76a250b926973c6
parent122cc050d0f8473e5f662aee35555f1aef062566
PJSIP: Handle defaults properly

This updates the code behind PJSIP configuration options with custom
handlers to deal with the assigned default values properly where it
makes sense and adjusting the default value where it doesn't. Before
applying this patch, there were several cases where the default value
for an option would prevent that config section from loading properly.

Reported by: Thomas Thompson
Review: https://reviewboard.asterisk.org/r/4019/
........

Merged revisions 424263 from http://svn.asterisk.org/svn/asterisk/branches/12
........

Merged revisions 424266 from http://svn.asterisk.org/svn/asterisk/branches/13

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@424267 65c4cc65-6c06-0410-ace0-fbb531ad65f3
configs/samples/pjsip.conf.sample
res/res_pjsip/config_transport.c
res/res_pjsip/location.c
res/res_pjsip/pjsip_configuration.c
res/res_pjsip_endpoint_identifier_ip.c