From 7f6b7215161dacfaa33da982e2557a3a30f4c326 Mon Sep 17 00:00:00 2001 From: Sean Bright Date: Thu, 1 Jan 2026 12:50:07 -0500 Subject: [PATCH] func_presencestate.c: Allow `NOT_SET` to be set from CLI. Resolves: #1647 --- funcs/func_presencestate.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/funcs/func_presencestate.c b/funcs/func_presencestate.c index ab0be795d9..7fd69a0971 100644 --- a/funcs/func_presencestate.c +++ b/funcs/func_presencestate.c @@ -430,10 +430,6 @@ static char *handle_cli_presencestate_change(struct ast_cli_entry *e, int cmd, s return CLI_SHOWUSAGE; } - if (state_val == AST_PRESENCE_NOT_SET) { - return CLI_SHOWUSAGE; - } - ast_cli(a->fd, "Changing %s to %s\n", dev, args); ast_db_put(astdb_family, dev, state);