mirror of
https://github.com/asterisk/asterisk.git
synced 2026-05-05 04:43:44 +00:00
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 git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/12@400141 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user