summaryrefslogtreecommitdiff
path: root/res/res_pjsip_registrar.c
diff options
context:
space:
mode:
authorMark Michelson <mmichelson@digium.com>2017-02-08 11:50:11 -0600
committerMark Michelson <mmichelson@digium.com>2017-02-08 11:54:39 -0600
commit46147a8f3013ba7fcf326e1b2d6e1b6c4ad68202 (patch)
tree23d733aa23cb2994ee55dbb1cc5da8dd58e601e9 /res/res_pjsip_registrar.c
parentc72b4c98e8e7ef2d833178dea12d34298ffa194f (diff)
Revert "Update qualifies when AOR configuration changes."
This reverts commit 6492e91392b8fd394193e411c6eb64b45486093f. The change in question was intended to prevent the need to reload in order to update qualifies on contacts when an AOR changes. However, this ended up causing a deadlock instead. Change-Id: I1a835c90a5bb65b6dc3a1e94cddc12a4afc3d71e
Diffstat (limited to 'res/res_pjsip_registrar.c')
-rw-r--r--res/res_pjsip_registrar.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/res/res_pjsip_registrar.c b/res/res_pjsip_registrar.c
index d190487ac..2db753889 100644
--- a/res/res_pjsip_registrar.c
+++ b/res/res_pjsip_registrar.c
@@ -456,6 +456,8 @@ static int register_aor_core(pjsip_rx_data *rdata,
}
contact_update->expiration_time = ast_tvadd(ast_tvnow(), ast_samp2tv(expiration, 1));
+ contact_update->qualify_frequency = aor->qualify_frequency;
+ contact_update->authenticate_qualify = aor->authenticate_qualify;
if (path_str) {
ast_string_field_set(contact_update, path, ast_str_buffer(path_str));
}