mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-24 05:38:11 +00:00
res_pjsip_outbound_registration: registration stops due to fatal 4xx response
During outbound registration it is possible to receive a fatal (any permanent/ non-temporary 4xx, 5xx, 6xx) response from the registrar that is simply due to a problem with the registrar itself. Upon receiving the failure response Asterisk terminates outbound registration for the given endpoint. This patch adds an option, 'fatal_retry_interval', that when set continues outbound registration at the given interval up to 'max_retries' upon receiving a fatal response. ASTERISK-25485 #close Change-Id: Ibc2c7b47164ac89cc803433c0bbe7063bfa143a2
This commit is contained in:
@@ -923,6 +923,14 @@
|
||||
; registration is unsuccessful (default: "60")
|
||||
;forbidden_retry_interval=0 ; Interval used when receiving a 403 Forbidden
|
||||
; response (default: "0")
|
||||
;fatal_retry_interval=0 ; Interval used when receiving a fatal response.
|
||||
; (default: "0") A fatal response is any permanent
|
||||
; failure (non-temporary 4xx, 5xx, 6xx) response
|
||||
; received from the registrar. NOTE - if also set
|
||||
; the 'forbidden_retry_interval' takes precedence
|
||||
; over this one when a 403 is received. Also, if
|
||||
; 'auth_rejection_permanent' equals 'yes' a 401 and
|
||||
; 407 become subject to this retry interval.
|
||||
;server_uri= ; SIP URI of the server to register against (default: "")
|
||||
;transport= ; Transport used for outbound authentication (default: "")
|
||||
;type= ; Must be of type registration (default: "")
|
||||
|
||||
Reference in New Issue
Block a user