diff options
author | Kinsey Moore <kmoore@digium.com> | 2013-09-30 15:57:11 +0000 |
---|---|---|
committer | Kinsey Moore <kmoore@digium.com> | 2013-09-30 15:57:11 +0000 |
commit | b44ce141e5e418ff9e32fa628c35b451f74bf398 (patch) | |
tree | a6a318e688da7f3c0cbd7552b5161ceee9bd7314 /configs/sip.conf.sample | |
parent | a1d56da32a98d1c5001dde9fc710b38e10781eb2 (diff) |
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
Diffstat (limited to 'configs/sip.conf.sample')
-rw-r--r-- | configs/sip.conf.sample | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/configs/sip.conf.sample b/configs/sip.conf.sample index ba4af1171..31db6de92 100644 --- a/configs/sip.conf.sample +++ b/configs/sip.conf.sample @@ -787,6 +787,9 @@ srvlookup=yes ; Enable DNS SRV lookups on outbound calls ; 0 = continue forever, hammering the other server ; until it accepts the registration ; Default is 0 tries, continue forever +;register_retry_403=yes ; Treat 403 responses to registrations as if they were + ; 401 responses and continue retrying according to normal + ; retry rules. ;----------------------------------------- OUTBOUND MWI SUBSCRIPTIONS ------------------------- ; Asterisk can subscribe to receive the MWI from another SIP server and store it locally for retrieval |