res_pjsip: config option 'timers' can't be set to 'no'
authorKevin Harwell <kharwell@digium.com>
Mon, 6 Apr 2015 19:23:57 +0000 (19:23 +0000)
committerKevin Harwell <kharwell@digium.com>
Mon, 6 Apr 2015 19:23:57 +0000 (19:23 +0000)
commit87d7c90e4e568d5bc7acc05ef1266f088f6a3b8d
tree0a943ed8cab6f5032023ccef379067f2db6033ca
parente48f2e7897079936ef2cb91fd15b88c319a3cdc9
res_pjsip: config option 'timers' can't be set to 'no'

When setting the configuration option 'timers' equal to 'no' the bit flag was
not properly negated. This patch clears all associated flags and only sets the
specified one. pjsip will handle any necessary flag combinations. Also went
ahead and did similar for the '100rel' option.

ASTERISK-24910 #close
Reported by: Ray Crumrine
Review: https://reviewboard.asterisk.org/r/4582/
........

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@434132 65c4cc65-6c06-0410-ace0-fbb531ad65f3
res/res_pjsip.c
res/res_pjsip/pjsip_configuration.c