chan_sip: Allow Asterisk to retry after 403 on register
authorKinsey Moore <kmoore@digium.com>
Mon, 30 Sep 2013 15:57:11 +0000 (15:57 +0000)
committerKinsey Moore <kmoore@digium.com>
Mon, 30 Sep 2013 15:57:11 +0000 (15:57 +0000)
commitb44ce141e5e418ff9e32fa628c35b451f74bf398
treea6a318e688da7f3c0cbd7552b5161ceee9bd7314
parenta1d56da32a98d1c5001dde9fc710b38e10781eb2
chan_sip: Allow Asterisk to retry after 403 on register

This adds a global option in chan_sip to allow it to continue
attempting registration if a 403 is received, clearing the cached nonce
and treating it as a non-fatal response. Normally, this would cause
registration attempts to that endpoint to stop.

This also adds a similar per-outbound-registration option to chan_pjsip
which allows the retry interval to be altered for 403 responses to
REGISTER requests.

(closes issue ASTERISK-17138)
Review: https://reviewboard.asterisk.org/r/2874/
Reported by: Rudi
........

Merged revisions 400137 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 400140 from http://svn.asterisk.org/svn/asterisk/branches/11
........

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@400142 65c4cc65-6c06-0410-ace0-fbb531ad65f3
CHANGES
channels/chan_sip.c
configs/pjsip.conf.sample
configs/sip.conf.sample
res/res_pjsip_outbound_registration.c