pjsip: Update ACLs on named ACL changes.

This change extends the Sorcery API to allow a wizard to be
told to explicitly reload objects or a specific object type
even if the wizard believes that nothing has changed.

This has been leveraged by res_pjsip and res_pjsip_acl to
reload endpoints and PJSIP ACLs when a named ACL changes.

ASTERISK-28697

Change-Id: Ib8fee9bd9dd490db635132c479127a4114c1ca0b
This commit is contained in:
Joshua C. Colp
2020-02-18 13:10:16 +00:00
committed by Joshua Colp
parent 78b01f41ae
commit d6712790cd
5 changed files with 112 additions and 1 deletions

View File

@@ -103,6 +103,7 @@ static struct ast_sorcery_wizard config_object_wizard = {
.open = sorcery_config_open,
.load = sorcery_config_load,
.reload = sorcery_config_reload,
.force_reload = sorcery_config_load,
.retrieve_id = sorcery_config_retrieve_id,
.retrieve_fields = sorcery_config_retrieve_fields,
.retrieve_multiple = sorcery_config_retrieve_multiple,