mirror of
https://github.com/asterisk/asterisk.git
synced 2026-05-03 20:06:24 +00:00
func_presencestate.c: Allow NOT_SET to be set from CLI.
Resolves: #1647
This commit is contained in:
committed by
github-actions[bot]
parent
0bfb7c7f11
commit
c8a6e71040
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user