Author: mjordan
Date: Tue Oct 7 12:40:58 2014
New Revision: 424730
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=424730
Log:
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
Modified:
branches/12/res/res_pjsip_outbound_registration.c
Modified: branches/12/res/res_pjsip_outbound_registration.c
URL:
http://svnview.digium.com/svn/asterisk/branches/12/res/res_pjsip_outbound_registration.c?view=diff&rev=424730&r1=424729&r2=424730
==============================================================================
--- branches/12/res/res_pjsip_outbound_registration.c (original)
+++ branches/12/res/res_pjsip_outbound_registration.c Tue Oct 7 12:40:58 2014
@@ -855,6 +855,7 @@
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);
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
svn-commits mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/svn-commits