Add a RES_NOT_DYNAMIC case for the CLI command

'queue remove member'



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@157939 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.6.2
Mark Michelson 17 years ago
parent 7a64c70324
commit de5ba432da

@ -6368,6 +6368,9 @@ static char *handle_queue_remove_member(struct ast_cli_entry *e, int cmd, struct
case RES_OUTOFMEMORY:
ast_cli(a->fd, "Out of memory\n");
return CLI_FAILURE;
case RES_NOT_DYNAMIC:
ast_cli(a->fd, "Unable to remove interface '%s' from queue'%s': Member is not dynamic\n", interface, queuename);
return CLI_FAILURE;
default:
return CLI_FAILURE;
}

Loading…
Cancel
Save