summaryrefslogtreecommitdiff
path: root/configs/samples/pjsip.conf.sample
diff options
context:
space:
mode:
authorKevin Harwell <kharwell@digium.com>2015-10-21 12:22:19 -0500
committerKevin Harwell <kharwell@digium.com>2015-10-23 09:42:46 -0500
commit691c0e0b317834f9d3321186126d733b391f59aa (patch)
treec403cfe84c46e1989392e7346bb8fee6b505c7ca /configs/samples/pjsip.conf.sample
parentb9bd249a85b7dcb3890fca1df8cf12558f7d82f5 (diff)
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
Diffstat (limited to 'configs/samples/pjsip.conf.sample')
-rw-r--r--configs/samples/pjsip.conf.sample8
1 files changed, 8 insertions, 0 deletions
diff --git a/configs/samples/pjsip.conf.sample b/configs/samples/pjsip.conf.sample
index 06befb4e4..9302fb261 100644
--- a/configs/samples/pjsip.conf.sample
+++ b/configs/samples/pjsip.conf.sample
@@ -931,6 +931,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: "")