diff options
author | Matthew Jordan <mjordan@digium.com> | 2014-10-07 17:44:36 +0000 |
---|---|---|
committer | Matthew Jordan <mjordan@digium.com> | 2014-10-07 17:44:36 +0000 |
commit | a9011106b6d18491d2cea530c5ccf7fab784b2ea (patch) | |
tree | d449a59596d93ac9853b091ff55af6a5b438ceec | |
parent | 523da7d1b392df199f7eceddf0ad7273e952ee36 (diff) |
res/res_pjsip_outbound_registration: Initialize auth_reject_permanent parameter
Prior to this patch, the auth_reject_permanent parameter was not initialized on
the registration client state, leading to the parameter being disabled
regardless of the value specified in pjsip.conf.
This patch initialized the setting on the registration client state to the
provided configuration value.
ASTERISK-24398 #close
........
Merged revisions 424730 from http://svn.asterisk.org/svn/asterisk/branches/12
........
Merged revisions 424731 from http://svn.asterisk.org/svn/asterisk/branches/13
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@424732 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rw-r--r-- | res/res_pjsip_outbound_registration.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/res/res_pjsip_outbound_registration.c b/res/res_pjsip_outbound_registration.c index c4e8e8564..9fd5fe6d3 100644 --- a/res/res_pjsip_outbound_registration.c +++ b/res/res_pjsip_outbound_registration.c @@ -852,6 +852,7 @@ static int sip_outbound_registration_perform(void *data) registration->state->client_state->max_retries = registration->max_retries; registration->state->client_state->retries = 0; registration->state->client_state->support_path = registration->support_path; + registration->state->client_state->auth_rejection_permanent = registration->auth_rejection_permanent; pjsip_regc_update_expires(registration->state->client_state->client, registration->expiration); |