From: Richard Mudgett Date: Thu, 22 Mar 2018 00:40:46 +0000 (-0500) Subject: res_pjsip: Update authenticate_qualify documentation. X-Git-Tag: 13.21.0-rc1~19^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e94f8e4a24ccc044dd263bdd81b964406cd37a08;p=thirdparty%2Fasterisk.git res_pjsip: Update authenticate_qualify documentation. Change-Id: I3811de0014b1ffe96d4a3b49cddd5d4ca02ee5d4 --- diff --git a/include/asterisk/res_pjsip.h b/include/asterisk/res_pjsip.h index 1a9076b442..8cb428f6ee 100644 --- a/include/asterisk/res_pjsip.h +++ b/include/asterisk/res_pjsip.h @@ -261,7 +261,7 @@ struct ast_sip_contact { struct timeval expiration_time; /*! Frequency to send OPTIONS requests to contact. 0 is disabled. */ unsigned int qualify_frequency; - /*! If true authenticate the qualify if needed */ + /*! If true authenticate the qualify challenge response if needed */ int authenticate_qualify; /*! Qualify timeout. 0 is diabled. */ double qualify_timeout; @@ -340,7 +340,7 @@ struct ast_sip_aor { unsigned int default_expiration; /*! Frequency to send OPTIONS requests to AOR contacts. 0 is disabled. */ unsigned int qualify_frequency; - /*! If true authenticate the qualify if needed */ + /*! If true authenticate the qualify challenge response if needed */ int authenticate_qualify; /*! Maximum number of external contacts, 0 to disable */ unsigned int max_contacts; diff --git a/res/res_pjsip.c b/res/res_pjsip.c index 7f4a7c9b41..368eb34e11 100644 --- a/res/res_pjsip.c +++ b/res/res_pjsip.c @@ -1313,12 +1313,17 @@ If 0 no timeout. Time in fractional seconds. - - Authenticates a qualify request if needed - - If true and a qualify request receives a challenge or authenticate response + + Authenticates a qualify challenge response if needed + + If true and a qualify request receives a challenge response then authentication is attempted before declaring the contact available. - + + This option does nothing as we will always complete + the challenge response authentication if the qualify request is + challenged. + + Outbound proxy used when sending OPTIONS request @@ -1512,12 +1517,17 @@ If 0 no timeout. Time in fractional seconds. - - Authenticates a qualify request if needed - - If true and a qualify request receives a challenge or authenticate response + + Authenticates a qualify challenge response if needed + + If true and a qualify request receives a challenge response then authentication is attempted before declaring the contact available. - + + This option does nothing as we will always complete + the challenge response authentication if the qualify request is + challenged. + + Outbound proxy used when sending OPTIONS request