mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-13 00:04:53 +00:00
res_pjsip_pubsub: Use ast_true for "prune_on_boot".
Change-Id: Iedec4e7390b3e821987681da24d0298632b9873d
This commit is contained in:
@@ -5522,7 +5522,7 @@ static int load_module(void)
|
|||||||
persistence_expires_str2struct, persistence_expires_struct2str, NULL, 0, 0);
|
persistence_expires_str2struct, persistence_expires_struct2str, NULL, 0, 0);
|
||||||
ast_sorcery_object_field_register(sorcery, "subscription_persistence", "contact_uri", "", OPT_CHAR_ARRAY_T, 0,
|
ast_sorcery_object_field_register(sorcery, "subscription_persistence", "contact_uri", "", OPT_CHAR_ARRAY_T, 0,
|
||||||
CHARFLDSET(struct subscription_persistence, contact_uri));
|
CHARFLDSET(struct subscription_persistence, contact_uri));
|
||||||
ast_sorcery_object_field_register(sorcery, "subscription_persistence", "prune_on_boot", "no", OPT_YESNO_T, 0,
|
ast_sorcery_object_field_register(sorcery, "subscription_persistence", "prune_on_boot", "no", OPT_YESNO_T, 1,
|
||||||
FLDSET(struct subscription_persistence, prune_on_boot));
|
FLDSET(struct subscription_persistence, prune_on_boot));
|
||||||
|
|
||||||
if (apply_list_configuration(sorcery)) {
|
if (apply_list_configuration(sorcery)) {
|
||||||
|
Reference in New Issue
Block a user